Skip to content

Update garbage collector instruments to be async counters - #4600

Merged
trask merged 1 commit into
open-telemetry:mainfrom
jack-berg:fix-runtime-metrics
Nov 5, 2021
Merged

Update garbage collector instruments to be async counters#4600
trask merged 1 commit into
open-telemetry:mainfrom
jack-berg:fix-runtime-metrics

Conversation

@jack-berg

Copy link
Copy Markdown
Member

A couple fellow New Relic engineers, Mike LaSpina and Erika Arnold, noticed that the garbage collection metrics are being reported as gauges when the values being observed are actually cumulative counts.

This PR fixes that, and as a result, causes the metrics to be exported as sums by default instead of gauges.

@trask trask left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@trask
trask merged commit 2f47e8a into open-telemetry:main Nov 5, 2021
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants