Skip to content

Conversation

@superbrothers
Copy link
Member

This PR fixes "atg-skip-auto-close" annotation key to atg_skip_auto_close.

In Prometheus, - is not allowed in label and annotation key.

Prometheus metrics and label names are written in snake_case. Converting camelCase to snake_case is desirable, though doing so automatically doesn’t always produce nice results for things like myTCPExample or isNaN so sometimes it’s best to leave them as-is.

https://prometheus.io/docs/instrumenting/writing_exporters/#naming

@superbrothers superbrothers requested a review from wafrelka April 15, 2025 08:56
@wafrelka wafrelka added the minor Bump minor version in next release label Apr 15, 2025
Copy link
Contributor

@wafrelka wafrelka left a comment

Choose a reason for hiding this comment

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

I also overlooked this... Thank you.

@superbrothers superbrothers removed the minor Bump minor version in next release label Apr 15, 2025
@superbrothers superbrothers merged commit 969b59b into master Apr 15, 2025
2 checks passed
@superbrothers superbrothers deleted the fix-annotation-key branch April 15, 2025 09:13
@github-actions github-actions bot mentioned this pull request Apr 7, 2025
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.

3 participants