Skip to content

Unable to drop distinct matching metrics ? #632

@RJNY

Description

@RJNY

I expected this to work:

      - match: "airflow_local(.+)"
        match_type: regex
        action: drop
        name: "dropped"

      - match: "(.+)_task_mem_usage_(.*)"
        match_type: regex
        action: drop
        name: "dropped"

      - match: "(.+)_task_cpu_usage_(.*)"
        match_type: regex
        action: drop
        name: "dropped"

But only this works:

      - match: "."
        match_type: regex
        action: drop
        name: "dropped"

Is dropping on a single-match basis not possible? I've only been able to get the catch-all to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions