Skip to content

InfoInhibitor - duplicate series #2751

@openstep

Description

@openstep

prometheus-community/helm-charts#5873

Prevent vector from containing metrics with the same labelset after applying alert labels in InfoInhibitor alert

Problem:
The InfoInhibitor alert was failing to evaluate with the following error in Prometheus:

expr:[ALERTS{severity="info"} == 1 unless on (namespace) ALERTS{alertname!="InfoInhibitor",alertstate="firing",severity=~"warning|critical"} == 1

Example
- alert: InfoInhibitor expr: count by (namespace) (ALERTS{severity="info"} == 1) > 0 unless on (namespace) count by (namespace) (ALERTS{alertname!="InfoInhibitor",alertstate="firing",severity=~"warning|critical"} == 1) > 0

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