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

feat(tracing): Add line information from tracing #430

Merged
merged 3 commits into from
Feb 4, 2022
Merged

Conversation

flub
Copy link
Contributor

@flub flub commented Feb 3, 2022

This adds the line information that tracing provides back into the
event. It also moves around the tags into a custom context instead of
the "extra" grab-bag as this is less likely to step on the user's
ad-hoc toes.

Related to #427

Floris Bruynooghe added 2 commits February 3, 2022 17:32
This adds the line information that tracing provides back into the
event.  It also moves around the tags into a custom context instead of
the "extra" grab-bag as this is less likely to step on the user's
ad-hoc toes.
sentry-tracing/src/converters.rs Outdated Show resolved Hide resolved
sentry-tracing/src/converters.rs Show resolved Hide resolved
sentry/tests/test_tracing.rs Show resolved Hide resolved
Copy link
Contributor Author

@flub flub left a comment

Choose a reason for hiding this comment

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

There are like lots more weird edge cases that i just don't understand what tracing is doing - which is why there's no test for the empty tags. I'm giving up though as this seems hopeless, I think the current implementation gives some useful information so I'm going to close my eyes and click merge.

sentry-tracing/src/converters.rs Outdated Show resolved Hide resolved
sentry-tracing/src/converters.rs Show resolved Hide resolved
sentry/tests/test_tracing.rs Show resolved Hide resolved
@flub flub enabled auto-merge (squash) February 4, 2022 09:42
@flub flub merged commit 8947917 into master Feb 4, 2022
@flub flub deleted the flub/tracing-info branch February 4, 2022 09:42
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.

3 participants