Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improvement] Adds key traceSampled to MDC when set trace is observable #144

Merged
merged 3 commits into from
Apr 17, 2019

Conversation

raiju
Copy link
Contributor

@raiju raiju commented Apr 17, 2019

Before this PR

Log consumers were unable to tell which traces were sampled (observable: true) vs which traces were not sampled (observable: false).

After this PR

An MDC key traceSampled will now appear with the value "1" when the set trace has been sampled (observable: true). If the set trace is not sampled (observable: false), the key will not appear in the MDC.

Note: this replaces #104

David Dunn and others added 3 commits March 26, 2019 09:56
@raiju raiju requested a review from a team as a code owner April 17, 2019 22:47
@carterkozak
Copy link
Contributor

👍

@bulldozer-bot bulldozer-bot bot merged commit 45ca2aa into palantir:develop Apr 17, 2019
@raiju raiju deleted the dd/sampledMdc branch April 17, 2019 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants