-
I would like to add attributes, specifically client request and response headers, to the OpenTelemetry span for each REST call. For the OpenTelemetry Java agent instrumentation, I would take advantage of the configuration parameters
but I suspect the Quarkus instrumentation does not provide an implementation of these, as an application.properties with
results in
I have tried implementing a Am I on the right track here, when I suspect an extension of Quarkus' |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
/cc @cescoffier (rest-client), @geoand (rest-client) |
Beta Was this translation helpful? Give feedback.
-
That is a feature that was never implemented of the REST client implementations. @svifred can you please create an issue with from this discussion? Th implementation should be straight forward. and this one as well: |
Beta Was this translation helpful? Give feedback.
That is a feature that was never implemented of the REST client implementations. @svifred can you please create an issue with from this discussion?
Th implementation should be straight forward.
We need to create the new properties to control the feature and add attributes to the span in this class:
quarkus/extensions/opentelemetry/runtime/src/main/java/io/quarkus/opentelemetry/runtime/tracing/intrumentation/restclient/OpenTelemetryClientFilter.java
Line 44 in 6ccff48
and this one as well:
quarkus/extensions/opentelemetry/runtime/src/main/java/io/quarkus/opentelemetry/runtime/…