Providers for LoggingEvents - Sequence #488
-
Hi, does sequence option have reset feature for every new trace id (e.g. spring sleuth trace id)? If not, does sequence option have maximum values? Thank you in advance |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
No, the log sequence id is unrelated to trace id / span id. The trace id / span id are usually put into the MDC, and included in the json output along with other values in the MDC via the
The maximum sequence id is |
Beta Was this translation helpful? Give feedback.
-
Hi @philsttr , thank you for the prompt answers, I got several questions again regarding sequence if you don't mind
Thank you in advance :) |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi @philsttr , i see, okay then, thank you very much for the answers 👍 |
Beta Was this translation helpful? Give feedback.
No, the log sequence id is unrelated to trace id / span id.
The trace id / span id are usually put into the MDC, and included in the json output along with other values in the MDC via the
mdc
provider.The maximum sequence id is
Long.MAX_VALUE
, which is2^63 - 1
, which is9,223,372,036,854,775,807