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

DimensionValueFilter, for filtering out metrics when discovery job used to mitigate costs #1203

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

RetroJumper
Copy link

New Dimension Filter added to custom and discovery jobs, allows for multiple regex values to be inserted into yace config, allowing for metrics with specific dimension values to be rejected and not scraped

Example

      dimensionValueFilter:
        - name: Queue
          value: "^ActiveMQ\\.Statistics\\.Destination\\..+"
        - name: Queue
          value: "^.+\\.stats"
        - name: Queue
          value: "^LoadTesting.+"
        - name: Queue
          value: "^LoadingTest.+"
        - name: Queue
          value: ".*[Tt][Ee][Ss][Tt].*"
        - name: Topic
          value: ".*[Tt][Ee][Ss][Tt].*"

@RetroJumper RetroJumper changed the title SRE-4720 DimensionValueFilter, for filtering out metrics when discovery job used to mitigate costs Nov 2, 2023
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.

1 participant