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

Rename prometheus metrics to match units #93

Merged
merged 1 commit into from
Mar 13, 2022
Merged

Conversation

tsipinakis
Copy link
Member

Please describe the change you are making

Fixes #12

Are you the owner of the code you are sending in, or do you have permission of the owner?

Yes

The code will be published under the MIT-0 license. Have you read and understood this license?

Yes

@janosdebugs janosdebugs self-requested a review March 7, 2022 13:38
@janosdebugs janosdebugs self-assigned this Mar 7, 2022
@janosdebugs
Copy link
Contributor

Looks good, but will need a documentation change too. Holding this until I figured out what needs changing in the docs.

Copy link
Contributor

@janosdebugs janosdebugs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tsipinakis this breaks backwards compatibility. Can you confirm that the previous version doesn't work in Prometheus? Otherwise we'd temporarily need to add new metrics alongside the old ones.

@tsipinakis
Copy link
Member Author

I can confirm it doesn't work with Prometheus 2.33.4

Error: unit not a suffix of metric "containerssh_config_server_failures"

Copy link
Contributor

@janosdebugs janosdebugs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All right then, let's do it!

@janosdebugs janosdebugs enabled auto-merge (squash) March 13, 2022 08:29
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.

Prometheus scrape error: "unit not a suffix of metric"
2 participants