Pārlūkot izejas kodu

Merge "Add prometheus main dashboard"

pull/37/head
Martin Polreich pirms 7 gadiem
vecāks
revīzija
13c9ec76aa
1 mainītis faili ar 15 papildinājumiem un 0 dzēšanām
  1. +15
    -0
      galera/meta/grafana.yml

+ 15
- 0
galera/meta/grafana.yml Parādīt failu

@@ -23,3 +23,18 @@ dashboard:
cluster_status:
rawQuery: true
query: SELECT last(value) FROM cluster_status WHERE cluster_name = 'mysql' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)
main_prometheus:
datasource: prometheus
row:
ost-middleware:
title: Middleware
panel:
nova:
title: MySQL
links:
- dashboard: MySQL
title: MySQL
type: dashboard
target:
cluster_status:
expr: avg(mysql_up) by (name)

Notiek ielāde…
Atcelt
Saglabāt