Missing instrumentation for Apache HttpClient 5? #9969
Unanswered
elbiocaetano
asked this question in
Q&A
Replies: 1 comment 1 reply
-
hi @elbiocaetano! you're right, no one has implemented library instrumentation for Apache HttpClient 5 yet, but it's definitely something we would accept as a contribution if you or someone else wants to implement it |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi 👋🏼 ,
We used to instrument Apache v4.3 using the library
io.opentelemetry.instrumentation:opentelemetry-apache-httpclient-4.3
. Now we are upgrading our Apache client to HttpClient v5, but I could not find an instrumentation for this version. I found the java-agent(io.opentelemetry.javaagent.instrumentation:opentelemetry-javaagent-apache-httpclient-5.0
), but that looks not to have the same classes and features as the instrumentation one.My question is: can we do the instrumentation as before somehow? Basically we would need a HttpClient with the OpenTelemetry injected in the request, to gather the tracing related to the http requests.
One example on what I want, on instrumentation for apache 4.3:
https://github.com/SDA-SE/sda-dropwizard-commons/blob/master/sda-commons-server-auth/src/main/java/org/sdase/commons/server/opa/OpaBundle.java#L182
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions