Stable cardinality limit property otel.java.metrics.cardinality.limit#7199
Merged
jack-berg merged 1 commit intoopen-telemetry:mainfrom Mar 17, 2025
Merged
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7199 +/- ##
=========================================
Coverage 89.92% 89.92%
- Complexity 6677 6682 +5
=========================================
Files 750 750
Lines 20173 20178 +5
Branches 1981 1984 +3
=========================================
+ Hits 18141 18146 +5
Misses 1436 1436
Partials 596 596 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
trask
approved these changes
Mar 13, 2025
devurandom
added a commit
to devurandom/opentelemetry.io
that referenced
this pull request
Jul 15, 2025
`otel.experimental.metrics.cardinality.limit` was changed to `otel.java.metrics.cardinality.limit` and support for the former will be removed after OpenTelemetry Java v1.51.0. References: open-telemetry/opentelemetry-java#7199
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Declarative config now has a more expressive mechanism for configuring cardinality limits, and there is no standard env var for this defined in the specification. Still, I don't think we should get rid of support for specifying cardinality limits via env vars / system properties. So let's stabilize
otel.experimental.metrics.cardinality.limitas a java-specific property with nameotel.java.metrics.cardinality.limit.