opentelemetry-java-instrumentation
opentelemetry-java-instrumentation copied to clipboard
OpenTelemetry auto-instrumentation and instrumentation libraries for Java
Many JMX enabled applications provides duration metrics with milliseconds unit, while [semconv](https://opentelemetry.io/docs/specs/semconv/general/metrics/#instrument-units) recommends using seconds. Unit conversion mechanism is needed in order to fully support semconv. This mechanism must be...
This is similar to HttpClientAttributesGetter, and generally simplifies usage because the related Extractors can be all managed internally by DbClientAttributesExtractor. Built on top of #12602 for now
Proposal, related to #932
I don't have a local repro that can be used to debug, so was curious if anyone has thoughts / leads on what might be the issue here? Thanks! Exception:...
### Is your feature request related to a problem? Please describe. We are calling a Postgres DB and getting exceptions for the normal flow of things (we shouldn't, but do)....
I am hoping to add attributes to an active ktor client span specifically trying to get this context https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/ktor/ktor-2-common/library/src/main/kotlin/io/opentelemetry/instrumentation/ktor/v2_0/common/internal/KtorClientTelemetryUtil.kt#L27 from the pipieline. However I easily hit: ``` Exception in thread...
### Is your feature request related to a problem? Please describe. For rest client in elasticsearch [5.0, 7.16), very poor informations are extracted in the spans: - name: "POST" -...
see https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2262
Let' take the following `ExchangeFilterFunction` in Reactor. ```java public ExchangeFilterFunction customStatusHandler() { return ExchangeFilterFunction.ofResponseProcessor(clientResponse -> { if (clientResponse.statusCode().isError()) { return clientResponse.createException().flatMap(clientError -> Mono.error(new CustomException(clientError.getResponseBodyAsString()))); } else { return Mono.just(clientResponse); }...