瀏覽代碼

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

Provide grains for building the main dashboard
tags/mcp0.5
Aleš Komárek 7 年之前
父節點
當前提交
9e43e6cd3e
共有 1 個檔案被更改,包括 15 行新增0 行删除
  1. +15
    -0
      galera/meta/grafana.yml

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

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

Loading…
取消
儲存