Skip to content

show or hide client_id label in the rule expression #12

@nightfury1204

Description

@nightfury1204
"Rules": [
    {
        "Record": "",
        "Alert": "alert",
        "Expr": "alert_test{client_id=\"1\"} > 10", # show or hide
        "For": 60000000000,
        "Labels": {
            "client_id": "1",
            "severity": "warning"
        },
        "Annotations": {
            "summary": "Testing alert"
        }
    }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions