Skip to content

sdk/metric: Apply Cardinality Limits to Aggregations #7081

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ysolomchenko
Copy link
Contributor

Fixes #6977
Towards #6887

What

  • Cardinality limits are enforced during aggregation.
  • Exceeding the limit results in dropping excess data or other specified behavior.
  • Performance benchmarks confirm no significant degradation due to the limit enforcement.

Copy link

codecov bot commented Jul 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.9%. Comparing base (806cb83) to head (cf041ba).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #7081   +/-   ##
=====================================
  Coverage   82.9%   82.9%           
=====================================
  Files        262     262           
  Lines      24460   24460           
=====================================
  Hits       20281   20281           
  Misses      3801    3801           
  Partials     378     378           
Files with missing lines Coverage Δ
sdk/metric/pipeline.go 89.2% <100.0%> (ø)
sdk/metric/provider.go 100.0% <100.0%> (ø)

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Apply Cardinality Limits to Aggregations
1 participant