1
0
Fork 0
mirror of synced 2024-12-22 06:31:06 -05:00

Add a dashboard to show the uptime of services

Change-Id: If7f4cca229b9ebb6fc1a247cc51092126284f80c
This commit is contained in:
Guillaume Thouvenin 2017-03-10 14:28:53 +01:00
parent 22c462b504
commit f014d23f2d
2 changed files with 44 additions and 0 deletions

View file

@ -7,3 +7,8 @@ dashboard:
base_dashboards: ['grafana:client:base_templates:main_dashboard']
base_rows: ['grafana:client:base_templates:service_row']
base_panels: ['grafana:client:base_templates:cluster_status_singlestat']
service_level:
format: yaml
base_dashboards: ['grafana:client:base_templates:service_level_dashboard']
base_rows: ['grafana:client:base_templates:service_level_row']
base_panels: ['grafana:client:base_templates:service_level_piechart']

View file

@ -66,3 +66,42 @@ parameters:
text: "DOWN"
value: "4"
valueName: current
service_level_dashboard:
title: 'Service Level Indicators'
editable: true
hideControls: false
templating:
enable: true
list:
- allFormat: regex values
hide: 0
includeAll: false
name: environment
options: []
query: show tag values from cpu_idle with key = environment_label
refresh: 1
refresh_on_load: true
regex: ''
type: query
sort: 0
multi: false
service_level_row:
showTitle: true
height: 200px
service_level_piechart:
span: 3
type: 'grafana-piechart-panel'
legend:
percentage: true
show: true
sortDesc: true
values: true
legendType: Under graph
aliasColors:
Healthy: "#7EB26D"
Up: "#7EB26D"
Okay: "#7EB26D"
Degraded or Unknwon: "#EAB839"
Down: "#890F02"
Error: "#890F02"
Fatal: "#890F02"