-
Notifications
You must be signed in to change notification settings - Fork 909
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
Log current thread id and name as span attribute #1093
Conversation
One question to the reviewers: do you think that this new processor should be enabled/disabled with a configuration flag? |
.../src/test/groovy/io/opentelemetry/javaagent/tooling/AddThreadDetailsSpanProcessorTest.groovy
Outdated
Show resolved
Hide resolved
Current snapshot of otel-java is broken. Waiting for open-telemetry/opentelemetry-java#1585 and open-telemetry/opentelemetry-java#1579, then I was going to merge #1057 |
71ba52f
to
1bd1f10
Compare
OK -- I'll wait for those fixes and rebase once they're merged. |
@mateuszrzeszutek please rebase |
* Bump opentelementry-java versions * Fix all compilation issues * Add a new `SpanProcessor` that appends thread attributes to each span
1bd1f10
to
dc68094
Compare
I think there is no need for such configuration. @trask do you care about that? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mateuszrzeszutek!
I agree no configuration is needed for this.
Fixes #942
Changes:
SpanProcessor
that appends thread attributes to each span