Add a dashboard to show the uptime of services
Change-Id: If7f4cca229b9ebb6fc1a247cc51092126284f80c
This commit is contained in:
parent
22c462b504
commit
f014d23f2d
2 changed files with 44 additions and 0 deletions
|
@ -7,3 +7,8 @@ dashboard:
|
||||||
base_dashboards: ['grafana:client:base_templates:main_dashboard']
|
base_dashboards: ['grafana:client:base_templates:main_dashboard']
|
||||||
base_rows: ['grafana:client:base_templates:service_row']
|
base_rows: ['grafana:client:base_templates:service_row']
|
||||||
base_panels: ['grafana:client:base_templates:cluster_status_singlestat']
|
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']
|
||||||
|
|
|
@ -66,3 +66,42 @@ parameters:
|
||||||
text: "DOWN"
|
text: "DOWN"
|
||||||
value: "4"
|
value: "4"
|
||||||
valueName: current
|
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"
|
||||||
|
|
Loading…
Reference in a new issue