Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[receiver/expvar] Fix bug where measurement is recorded into wrong metric. #13172

Merged
merged 3 commits into from
Aug 12, 2022

Conversation

jamesmoessis
Copy link
Contributor

Description:
Noticed a bug where the mSpanSys value was higher than it should be. Turns out we were recording to mCacheSys value to that metric as well. This resulted in no mCacheSys metric and an incorrect mSpanSys metric. This PR fixes the issue.

Link to tracking Issue: #13171

Testing:
The tests have been altered to expect the correct metrics, they were previously expecting slightly incorrect metrics.

@jamesmoessis jamesmoessis requested review from a team and jpkrohling August 11, 2022 01:12
@dmitryax dmitryax merged commit 9d56ebd into open-telemetry:main Aug 12, 2022
@jamesmoessis jamesmoessis deleted the expvar-bug-fix branch August 14, 2022 08:29
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