Ver código fonte

Merge pull request #23 from thouveng/build-main-dashboard

Provide grains for building the main dashboard
tags/mcp0.5
Aleš Komárek 7 anos atrás
pai
commit
9e43e6cd3e
1 arquivos alterados com 15 adições e 0 exclusões
  1. +15
    -0
      galera/meta/grafana.yml

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

@@ -2,3 +2,18 @@ dashboard:
galera:
format: json
template: galera/files/grafana_dashboards/mysql_influxdb.json
main:
row:
ost-middleware:
title: Middleware
panel:
mysql:
title: MySQL
links:
- dashboard: MySQL
title: MySQL
type: dashboard
target:
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)

Carregando…
Cancelar
Salvar