1
0
Fork 0
mirror of synced 2024-11-22 08:55:35 -05:00
formula-grafana/metadata/service/client/single.yml

107 lines
2.9 KiB
YAML

applications:
- grafana
parameters:
grafana:
client:
enabled: true
base_templates:
main_dashboard:
title: 'Main'
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_row:
showTitle: true
height: 100px
cluster_status_singlestat:
span: 2
editable: false
type: singlestat
prefixFontSize: "50%"
postfixFontSize: "50%"
colorBackground: true
colors:
- "rgba(71, 212, 59, 0.4)"
- "rgba(245, 150, 40, 0.73)"
- "rgba(225, 40, 40, 0.59)"
thresholds: "1,3"
interval: "> 60s"
sparkline:
fillColor: "rgba(31, 118, 189, 0.18)"
full: false
lineColor: "rgb(31, 120, 193)"
show: false
valueFontSize: "50%"
valueMaps:
- op: "="
text: "no data"
value: "null"
- op: "="
text: "OKAY"
value: "0"
- op: "="
text: "WARN"
value: "1"
- op: "="
text: "UNKW"
value: "2"
- op: "="
text: "CRIT"
value: "3"
- op: "="
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"