Saltstack Official Galera Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

grafana.yml 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. dashboard:
  2. galera_prometheus:
  3. datasource: prometheus
  4. format: json
  5. template: galera/files/grafana_dashboards/mysql_prometheus.json
  6. galera_influxdb:
  7. datasource: influxdb
  8. format: json
  9. template: galera/files/grafana_dashboards/mysql_influxdb.json
  10. main:
  11. datasource: influxdb
  12. row:
  13. ost-middleware:
  14. title: Middleware
  15. panel:
  16. mysql:
  17. title: MySQL
  18. links:
  19. - dashboard: MySQL
  20. title: MySQL
  21. type: dashboard
  22. target:
  23. cluster_status:
  24. rawQuery: true
  25. query: SELECT last(value) FROM cluster_status WHERE cluster_name = 'mysql' AND environment_label = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)
  26. main_prometheus:
  27. datasource: prometheus
  28. row:
  29. ost-middleware:
  30. title: Middleware
  31. panel:
  32. nova:
  33. title: MySQL
  34. links:
  35. - dashboard: MySQL
  36. title: MySQL
  37. type: dashboard
  38. target:
  39. cluster_status:
  40. expr: avg(mysql_up) by (name)