1
0
Fork 0
mirror of synced 2024-11-22 08:55:35 -05:00

Merge "Add a dashboard to show the uptime of services"

This commit is contained in:
Ales Komarek 2017-03-24 13:33:43 +00:00 committed by Gerrit Code Review
commit 32bf75e7c8
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_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']

View file

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