Skip to content
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: Error when enabling prometheus metrics #2528

Merged

Conversation

albertollamaso
Copy link
Contributor

Prometheus metrics names have some restrictions that must match the regex [a-zA-Z_:][a-zA-Z0-9_:]*

The metric names have some restrictions which are documented here: https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels

This resolves #2379
Also, see #2204 (comment)

Prometheus metrics names have some restrictions that must match the regex `[a-zA-Z_:][a-zA-Z0-9_:]*`
@albertollamaso albertollamaso requested a review from a team as a code owner September 17, 2022 13:12
@albertollamaso albertollamaso changed the title Fix: Error when enabling prometheus metrics (#2379) Fix: Error when enabling prometheus metrics Sep 17, 2022
@jamengual jamengual merged commit 9829fa2 into runatlantis:master Sep 21, 2022
krrrr38 pushed a commit to krrrr38/atlantis that referenced this pull request Dec 16, 2022
…lantis#2528)

Prometheus metrics names have some restrictions that must match the regex `[a-zA-Z_:][a-zA-Z0-9_:]*`
@nitrocode nitrocode added this to the v0.19.9 milestone Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when enabling Prometheus: invalid metric name
3 participants