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

Fix metrics cardinality #3972

Merged
merged 2 commits into from
Aug 27, 2021
Merged

Conversation

trask
Copy link
Member

@trask trask commented Aug 26, 2021

Resolves #3962
Resolves #3927

// this is temporary, see
// https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/3962#issuecomment-906606325
@SuppressWarnings("rawtypes")
final class TemporaryMetricsView {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should have some unit tests for this class.

@trask
Copy link
Member Author

trask commented Aug 26, 2021

btw the recommendation from this issue came in very handy here: open-telemetry/opentelemetry-java#2283

@anuraaga anuraaga merged commit fec5ed2 into open-telemetry:main Aug 27, 2021
@trask trask deleted the fix-metrics-cardinality branch August 27, 2021 05:23
trask added a commit that referenced this pull request Aug 31, 2021
* Fix metrics cardinality

* Add test
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.

Memory leak on javaagent 1.5.1 how to close http_client_* metrics ?
4 participants