-
Notifications
You must be signed in to change notification settings - Fork 867
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
Split NetAttributesExtractor into NetClientAttributesExtractor and NetServerAttributesExtractor #4287
Conversation
Should we go ahead with the |
This PR is updated now with this approach 👍 |
...etry/instrumentation/api/instrumenter/net/InetSocketAddressNetAttributesServerExtractor.java
Outdated
Show resolved
Hide resolved
...etry/instrumentation/api/instrumenter/net/InetSocketAddressNetAttributesClientExtractor.java
Outdated
Show resolved
Hide resolved
...etry/instrumentation/api/instrumenter/net/InetSocketAddressNetAttributesClientExtractor.java
Outdated
Show resolved
Hide resolved
.../instrumentation/api/instrumenter/net/InetSocketAddressNetAttributesClientExtractorTest.java
Outdated
Show resolved
Hide resolved
.../instrumentation/api/instrumenter/net/InetSocketAddressNetAttributesServerExtractorTest.java
Outdated
Show resolved
Hide resolved
.../java/io/opentelemetry/javaagent/instrumentation/jedis/v1_4/JedisNetAttributesExtractor.java
Outdated
Show resolved
Hide resolved
please see this commit for attempt to expose |
I also added similar for Dubbo |
and gRPC |
...ary/src/main/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/DubboTracingBuilder.java
Outdated
Show resolved
Hide resolved
...api/src/main/java/io/opentelemetry/instrumentation/api/instrumenter/AttributesExtractor.java
Show resolved
Hide resolved
Going ahead and merging since it's large and conflict-y. Happy to address any additional thoughts in follow-ups. |
Alternative to #4278 that implements parallel hierarchies:
and
Note:
peer.service
only applies to client spans (afaict), soPeerServiceAttributesExtractor
is not split, and only applies toNetClientAttributesExtractor
.