-
Notifications
You must be signed in to change notification settings - Fork 627
Open
Labels
keepaliveUse to prevent automatic closingUse to prevent automatic closing
Description
What's the general idea for the enhancement?
#1008 rightfully changed mixin rules not handling normalised buckets in Prometheus v3.
However the change involved switching to regex matching for bucket matching, which is more computationally intensive than the =
selector.
I propose to change this by introducing a mechanism (e.g. config parameter) to target v2 or v3-style rules, thus removing the necessity to use a regular expression. This would positively impact performance for all users, as some of these expressions are already quite expensive to compute.
Please provide any helpful snippets.
What parts of the codebase does the enhancement target?
Rules
Anything else relevant to the enhancement that would help with the triage process?
No response
I agree to the following terms:
- I agree to follow this project's Code of Conduct.
- I have filled out all the required information above to the best of my ability.
- I have searched the issues of this repository and believe that this is not a duplicate.
- I have confirmed this proposal applies to the default branch of the repository, as of the latest commit at the time of submission.
Metadata
Metadata
Assignees
Labels
keepaliveUse to prevent automatic closingUse to prevent automatic closing