github.com/pingcap/tidb-lightning@v5.0.0-rc.0.20210428090220-84b649866577+incompatible/metrics/alertmanager/lightning.rules.yml (about) 1 groups: 2 - name: alert.rules 3 rules: 4 - alert: Lightning_import_failure_tables_count 5 expr: sum ( lightning_tables{result="failure"} ) > 0 6 for: 1m 7 labels: 8 env: ENV_LABELS_ENV 9 level: emergency 10 expr: sum ( lightning_tables{result="failure"} ) > 0 11 annotations: 12 description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}' 13 value: '{{ $value }}' 14 summary: Lightning failed to import a table