Explorar el Código

Add prometheus main dashboard

Change-Id: I60e68e7cb4060c1b42789b2b17f21e325d9dfd92
pull/37/head
Martin Polreich hace 7 años
padre
commit
4c9a4fe700
Se han modificado 1 ficheros con 15 adiciones y 0 borrados
  1. +15
    -0
      galera/meta/grafana.yml

+ 15
- 0
galera/meta/grafana.yml Ver fichero

@@ -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)

Cargando…
Cancelar
Guardar