-
Notifications
You must be signed in to change notification settings - Fork 73
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
rename depth and backend_depth to match other *_counter ? #7
Comments
Hi Marc, you are right. The metrics naming is inconsistent. The naming is taken from the underlaying stats-endpoint call results - so it's inconsistent "upstream". |
Thanks for looking at this. And sorry in advance for the giant reply.... As far as metric names go, for gauges, the preference is for them to mention the plural of whatever they are counting. take your pick, but everything to the right seems better... Digging deeper into this, it has more surface area than I would have thought.
[ I only discovered this after looking at the Perhaps we can work together to improve As well, I can work on improving
For now, I'd see these as beneficial changes for
|
I just found nsqadmin has a helper function for statsd that maps the metrics as gauges or counters: which totally disproves my earlier bold statement:
|
I feel like the metric names could be made more consistent.
Every gauge exported by
nsq_exporter
uses_counter
as its suffix, exceptdepth
andbackend_depth
.Any thoughts on updating their names?
When aggregating, it's somewhat jarring to see two metrics with different suffixes being added together:
The expression
(depth + in_flight_count)
looks strange...even though they're both gauges.
The text was updated successfully, but these errors were encountered: