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

pull/27/head
Ales Komarek 6 years ago committed by Gerrit Code Review
commit 32bf75e7c8
  1. 5
      grafana/meta/grafana.yml
  2. 39
      metadata/service/client/single.yml

@ -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']

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

Loading…
Cancel
Save