Skip to content

Commit

Permalink
Fix dark dashboard alerts in example
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Phoen committed Mar 20, 2023
1 parent cb0ef4a commit 3d6a24f
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions examples/dashboards/dark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ spec:
targets:
- prometheus:
ref: A
query: sum(increase(controller_runtime_reconcile_total{controller="grafanadashboard"}[5m])) by (result)
legend: "{{ result }}"
query: sum(increase(controller_runtime_reconcile_total{controller="grafanadashboard", result="error"}[5m]))
lookback: 5m
tags:
service: dark
Expand All @@ -143,8 +142,7 @@ spec:
targets:
- prometheus:
ref: A
query: sum(increase(controller_runtime_reconcile_total{controller="datasource"}[5m])) by (result)
legend: "{{ result }}"
query: sum(increase(controller_runtime_reconcile_total{controller="datasource", result="error"}[5m]))
lookback: 5m
tags:
service: dark
Expand All @@ -168,8 +166,7 @@ spec:
targets:
- prometheus:
ref: A
query: sum(increase(controller_runtime_reconcile_total{controller="alertmanager"}[5m])) by (result)
legend: "{{ result }}"
query: sum(increase(controller_runtime_reconcile_total{controller="alertmanager", result="error"}[5m]))
lookback: 5m
tags:
service: dark
Expand All @@ -193,8 +190,7 @@ spec:
targets:
- prometheus:
ref: A
query: sum(increase(controller_runtime_reconcile_total{controller="apikey"}[5m])) by (result)
legend: "{{ result }}"
query: sum(increase(controller_runtime_reconcile_total{controller="apikey", result="error"}[5m]))
lookback: 5m
tags:
service: dark

0 comments on commit 3d6a24f

Please sign in to comment.