-
Notifications
You must be signed in to change notification settings - Fork 172
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
Inconsistent requirements for suffixes #284
Comments
Is the problem only with the _created suffix, or are you seeing problems with all other suffixes? Created timestamp is probably getting a completely new direction. I have the impression that @Maniktherana is working on a proposal to expose it inline with the metric, something like
Regarding suffixes in general we have 3 issues already about it 😅 #281 #282 #283 |
Can we add a separate clean issue to track CT discussion? @ArthurSens |
Yes so for counters, summaries and histograms the rule currently is to avoid ending them with _created. If you have a counter, for example, named foo itll have a foo_created line to indicate it's created timestamp. Other metric types can have _created but they'll be treated as normal (since created timestamps don't apply to those). So if you create a gauge called foo_created, it'll be treated as any other gauge. Hope this helps! |
Sure thing. I was just trying to clarify whether the issue here was specific to CT or about suffixes in general. I'll create a new issue. If this issue here is just about CT, should we close it? |
The spec says
I read this as a counter name MUST NOT end in
_created
, because this results in a potential clash.However, the spec also says
Here it says SHOULD NOT.
It would be good to have more clarity whether a suffix like
_created
is allowed in a metric name or not.The text was updated successfully, but these errors were encountered: