瀏覽代碼

Merge "Add prometheus main dashboard"

revert-bumpto57-2
Martin Polreich 7 年之前
父節點
當前提交
13c9ec76aa
共有 1 個文件被更改,包括 15 次插入0 次删除
  1. +15
    -0
      galera/meta/grafana.yml

+ 15
- 0
galera/meta/grafana.yml 查看文件

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

Loading…
取消
儲存