Skip to content

Providers for LoggingEvents - Sequence #488

Answered by philsttr
alvhartanto asked this question in Q&A
Discussion options

You must be logged in to vote

does sequence option have reset feature for every new trace id (e.g. spring sleuth trace id)

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.

does sequence option have maximum values?

The maximum sequence id is Long.MAX_VALUE, which is 2^63 - 1, which is 9,223,372,036,854,775,807

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by philsttr
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #412 on January 17, 2021 20:08.