Skip to content

Conversation

@eduardodbr
Copy link
Member

Fixes #14755

Motivation

Modifications

By default, prometheus has NameValidationScheme set to UTF8Validation which allows metrics names to keep original delimiters (e.g. .), rather than replacing with underscores. This PR adds a new env var PROMETHEUS_LEGACY_NAME_VALIDATION_SCHEME to allow users to revert to the legacy behavior.

Verification

Deployed controller with prometheus scraping. I used prometheus operator.

image

Documentation

@eduardodbr eduardodbr marked this pull request as ready for review September 23, 2025 08:45
@Joibel Joibel self-assigned this Sep 23, 2025
@eduardodbr
Copy link
Member Author

/retest

@Joibel Joibel added the cherry-pick/3.7 Cherry-pick this to release-3.7 label Oct 17, 2025
Copy link
Member

@Joibel Joibel left a comment

Choose a reason for hiding this comment

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

nit: I'm still being annoying, sorry

@Joibel Joibel enabled auto-merge (squash) October 24, 2025 08:55
@Joibel Joibel merged commit a2924e6 into argoproj:main Oct 24, 2025
39 checks passed
argo-cd-cherry-pick-bot bot pushed a commit that referenced this pull request Oct 24, 2025
@argo-cd-cherry-pick-bot
Copy link

🍒 Cherry-pick PR created for 3.7: #14987

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/telemetry/metrics cherry-pick/3.7 Cherry-pick this to release-3.7

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Argo workflows controller go metrics have invalid names with periods

2 participants