github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/coralogix.com/Alert/testdata/healthy_alert.yaml (about)

     1  apiVersion: coralogix.com/v1beta1
     2  kind: Alert
     3  metadata:
     4    name: bitbucketcontainernotrunning-test
     5  spec:
     6    alertType:
     7      metricThreshold:
     8        metricFilter:
     9          promql: >-
    10            sum({namespace="bitbucket",pod=~"bitbucket-k8s-.*",condition="false"}) by (pod)
    11        missingValues:
    12          replaceWithZero: true
    13        rules:
    14          - condition:
    15              conditionType: moreThan
    16              forOverPct: 100
    17              ofTheLast:
    18                specificValue: 5m
    19              threshold: 0
    20            override:
    21              priority: p1
    22    description: >-
    23      Bitbucket one of the container is not running
    24    entityLabels:
    25      app: bitbucket
    26    name: Bitbucketcontainernotrunning-test
    27    notificationGroup:
    28      groupByKeys:
    29        - pod
    30      webhooks:
    31        - integration:
    32            integrationRef:
    33              backendRef:
    34                name: opsgenie-example
    35          notifyOn: triggeredAndResolved
    36          retriggeringPeriod:
    37            minutes: 60
    38        - integration:
    39            integrationRef:
    40              backendRef:
    41                name: critical-alerts-webhook
    42          notifyOn: triggeredAndResolved
    43          retriggeringPeriod:
    44            minutes: 60
    45    priority: p1
    46  status:
    47    conditions:
    48      - lastTransitionTime: '2025-07-17T07:39:55Z'
    49        message: Remote resource synced
    50        observedGeneration: 3
    51        reason: RemoteSyncedSuccessfully
    52        status: 'True'
    53        type: RemoteSynced