-
Notifications
You must be signed in to change notification settings - Fork 116
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
Report Tag cache size as part of internal metrics #189
Conversation
Codecov Report
@@ Coverage Diff @@
## master #189 +/- ##
==========================================
+ Coverage 47.46% 47.78% +0.32%
==========================================
Files 64 64
Lines 5948 5985 +37
==========================================
+ Hits 2823 2860 +37
Misses 2685 2685
Partials 440 440
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
General note: the tag count is not the same as cardinality; to get a correct cardinality count you will need to count every root+subscope's metrics.
If we just use the number of tag sets, it misses the (variable) coefficient of how many metrics use each of them.
* increment version * Use bucketed subscope (uber-go#184) * remove unused function Co-authored-by: Cristian Velazquez <[email protected]>
Additional internal metrics will be emitted: - `tally.internal.num-tag-cache` will report the number of tags - `tally.internal.counter-cardinality` will report the number of counters across all scopes - `tally.internal.gauge-cardinality` will report the number of gauges across all scopes - `tally.internal.histogram-cardinality` will report the number of histograms across all scopes Other changes: - refactored tests to use internal metric counts defined in variables
Additional internal metrics will be emitted: - `tally.internal.num-tag-cache` will report the number of tags - `tally.internal.counter-cardinality` will report the number of counters across all scopes - `tally.internal.gauge-cardinality` will report the number of gauges across all scopes - `tally.internal.histogram-cardinality` will report the number of histograms across all scopes Other changes: - refactored tests to use internal metric counts defined in variables
This helps service owners know if they are causing Tally to use too much memory