-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
fix(metrics)!: rename mercure_subscribers to mercure_subscribers_connected #725
Conversation
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.
LGTM
c8c14e6
to
2b0e60c
Compare
@dunglas I changed to |
Which linter was failing? Are they some open metrics / Prometheus best practices about naming? |
It was promlinter:
Prometheus have some best practices but didn't prohibit https://prometheus.io/docs/practices/naming/ OpenMetrics have more "strict" conventional naming: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#suffixes They didn't add a suffix for gauge type but it's not forbidden. |
Ok thanks! |
Sounds good, so what do you think about |
2b0e60c
to
92a2c97
Compare
LGTM |
I let you do the merge 😉 |
92a2c97
to
fb1559b
Compare
fb1559b
to
e4e7774
Compare
da74b2a
to
53522c6
Compare
…ected This change allow Datadog agent to fetch all metrics starting with mercure_subscribers * mercure_subscribers_connected (previously mercure_subscribers) * mercure_subscribers_total See dunglas#720 issue for more information
53522c6
to
cf8219b
Compare
Thank you @ndousson! |
This change allow Datadog agent to fetch all metrics starting with mercure_subscribers
See #720 issue for more information