-
Notifications
You must be signed in to change notification settings - Fork 20
Delete AsyncSlf4jSpanObserver #754
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
Conversation
Generate changelog in
|
a726197
to
14d311a
Compare
Does this allow us to update the slf4j dependency in the |
tracing-undertow/build.gradle
Outdated
implementation project(':tracing-api') | ||
implementation 'com.google.guava:guava' | ||
implementation 'com.palantir.safe-logging:preconditions' | ||
implementation "org.slf4j:slf4j-api" |
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.
This shouldn't be necessary after the safe-logger migration, just in testImplementation
, right?
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.
Yep, after merging in develop this disappeared
702f4d2
to
2022d31
Compare
com.fasterxml.jackson.core:jackson-annotations:2.12.3 (18 constraints: fa20d0ea) | ||
com.fasterxml.jackson.core:jackson-core:2.12.3 (18 constraints: f5617cda) | ||
com.fasterxml.jackson.core:jackson-databind:2.12.3 (26 constraints: 8cf4d2b4) | ||
com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.12.3 (4 constraints: 1e3f528b) |
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.
nice
Before this PR
A sourcegraph search shows the only usages of
AsyncSlf4jSpanObserver
are in archived repos (so no longer writeable), or abandoned personal copies of http-remoting.There is however one usage in tritium's tests: https://github.com/palantir/tritium/blob/14084bccbaf34133af38d5da2c52b136e0c0b9aa/tritium-tracing/src/test/java/com/palantir/tritium/tracing/TracingInvocationEventHandlerTest.java#L71, which I'm deleting here palantir/tritium#1172
I'd like to delete the parts of tracing-java's API that we no longer use so that any attempt to try out different internals (e.g. OpenTelemetry) is a bit easier.
After this PR
==COMMIT_MSG==
Delete
AsyncSlf4jSpanObserver
- internally we construct a SpanObserver which uses log4j2 to ensure that spans are serialized and logged without blocking threads that produce spans.==COMMIT_MSG==
Possible downsides?