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

tracing: add WithContextTags() to define a set of tags based on ctx #12

Merged
merged 1 commit into from Sep 15, 2020

Conversation

fatih
Copy link
Contributor

@fatih fatih commented Sep 15, 2020

This adds a new option to define the tags to be set on the parent span
based on the ctx. Most of the time the ctx holds important values,
such as request ID's or source IP's that might be useful to set on the
span.

This adds a new option to define the tags to be set on the parent span
based on the ctx. Most of the time the `ctx` holds important values,
such as request ID's or source IP's that might be useful to set on the
span.
@fatih
Copy link
Contributor Author

fatih commented Sep 15, 2020

cc @iheanyi

Copy link
Collaborator

@iheanyi iheanyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks again. :)

@iheanyi iheanyi merged commit 856ac0d into twirp-ecosystem:master Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants