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

Update/Fix PROM_APP_LABEL_REGEX #734

Open
Channyboy opened this issue Aug 23, 2022 · 0 comments
Open

Update/Fix PROM_APP_LABEL_REGEX #734

Channyboy opened this issue Aug 23, 2022 · 0 comments

Comments

@Channyboy
Copy link
Contributor

Update PROM_APP_LABEL_REGEX from "mp_app=\"[-/A-Za-z0-9]+\"" to something that appropriately reflects the possible tag values.

Either updates regex or use logic for parsing.
Perhaps using mp_app=".*(?<!\\\\)", may work.

Tag values are any character that is UTF-8.

This current regex was an artifact from Metrics 2.0 when the (mp)_app value was supposed to be (optionally) resolved from the context-root of the application.

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

No branches or pull requests

1 participant