Skip to content

Don't emit higher cardinality attributes for metrics#14

Merged
brandur merged 1 commit intomasterfrom
brandur-no-high-cardinality-metric
Apr 6, 2025
Merged

Don't emit higher cardinality attributes for metrics#14
brandur merged 1 commit intomasterfrom
brandur-no-high-cardinality-metric

Conversation

@brandur
Copy link
Contributor

@brandur brandur commented Apr 6, 2025

This ones follows up #11. I said in the pull request that higher
cardinality attributes aren't emitted with metrics, but I got that wrong
as I'd forgotten I was feeding all span attributes into metrics as well.

Here, bifurcate attributes so that high cardinality attributes are added
to spans, but not to metrics.

This ones follows up #11. I said in the pull request that higher
cardinality attributes aren't emitted with metrics, but I got that wrong
as I'd forgotten I was feeding all span attributes into metrics as well.

Here, bifurcate attributes so that high cardinality attributes are added
to spans, but not to metrics.
@brandur brandur requested a review from bgentry April 6, 2025 06:34
@brandur
Copy link
Contributor Author

brandur commented Apr 6, 2025

Thx.

@brandur brandur merged commit 92cc106 into master Apr 6, 2025
2 checks passed
@brandur brandur deleted the brandur-no-high-cardinality-metric branch April 6, 2025 15:52
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.

2 participants