Skip to content

Java metrics SDK histogram being received by collector as a summary? #3569

Answered by anuraaga
dparis asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dparis - 1.6 will report histograms as histogram, 1.5 indeed currently exports as summary. In the java agent, we have a workaround to dogfood the behavior in the 1.6 release to map the duration metrics it creates to histogram, you may want to use similar in your app for now

https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/OpenTelemetryInstaller.java#L86

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dparis
Comment options

@dparis
Comment options

Answer selected by jkwatson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants