-
Notifications
You must be signed in to change notification settings - Fork 117
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
Revise internal cardinality metrics #241
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #241 +/- ##
==========================================
+ Coverage 47.85% 47.95% +0.09%
==========================================
Files 64 64
Lines 5993 6006 +13
==========================================
+ Hits 2868 2880 +12
- Misses 2685 2686 +1
Partials 440 440 ☔ View full report in Codecov by Sentry. |
577999a
to
9e18de7
Compare
scope_registry.go
Outdated
counterCardinalityName = "tally.internal.counter_cardinality" | ||
gaugeCardinalityName = "tally.internal.gauge_cardinality" | ||
histogramCardinalityName = "tally.internal.histogram_cardinality" | ||
scopeCardinalityName = "tally.internal.scope_cardinality" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
num-active-scopes would be a better name for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
* update internal metrics impl * change scope counter name
* update internal metrics impl * change scope counter name
* update internal metrics impl * change scope counter name
* Revise internal cardinality metrics (#241) * Backport #221 and #222 to master branch (#243) * [bug] Ensure that parent scopes do not return closed subscopes (#221) * TestScope: don't prune from registry when closed (#222) --------- Co-authored-by: Matt Way <mway@users.noreply.github.com> --------- Co-authored-by: Matt Way <mway@users.noreply.github.com>
This reintroduced #198 |
This revises what and how cardinality metrics are reported.
Changes:
tally.internal.
to be consistent with others