2016-11-17 08:20:02 -05:00
|
|
|
applications:
|
2017-03-21 09:27:31 -04:00
|
|
|
- grafana
|
2016-11-17 08:20:02 -05:00
|
|
|
parameters:
|
|
|
|
grafana:
|
|
|
|
client:
|
|
|
|
enabled: true
|
2017-01-10 11:08:26 -05:00
|
|
|
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
|
2017-10-09 11:09:10 -04:00
|
|
|
prometheus_main_dashboard:
|
|
|
|
title: 'Main'
|
|
|
|
editable: true
|
|
|
|
hideControls: false
|
|
|
|
prometheus_cluster_status:
|
|
|
|
span: 2
|
|
|
|
editable: false
|
|
|
|
type: singlestat
|
|
|
|
prefixFontSize: "50%"
|
|
|
|
postfixFontSize: "50%"
|
|
|
|
colorBackground: true
|
|
|
|
colors:
|
|
|
|
- "rgba(225, 40, 40, 0.59)"
|
|
|
|
- "rgba(245, 150, 40, 0.73)"
|
|
|
|
- "rgba(71, 212, 59, 0.4)"
|
|
|
|
thresholds: "0.01,1"
|
|
|
|
interval: "> 60s"
|
|
|
|
sparkline:
|
|
|
|
fillColor: "rgba(31, 118, 189, 0.18)"
|
|
|
|
full: false
|
|
|
|
lineColor: "rgb(31, 120, 193)"
|
|
|
|
show: false
|
|
|
|
valueFontSize: "50%"
|
|
|
|
mappingType: 2
|
|
|
|
rangeMaps:
|
|
|
|
- from: "null"
|
|
|
|
text: "no data"
|
|
|
|
to: "null"
|
|
|
|
- from: "0"
|
|
|
|
text: "DOWN"
|
|
|
|
to: "0"
|
|
|
|
- from: "0.01"
|
|
|
|
text: "CRIT"
|
|
|
|
to: "0.5"
|
|
|
|
- from: "0.51"
|
|
|
|
text: "WARN"
|
|
|
|
to: "0.99"
|
|
|
|
- from: "1"
|
|
|
|
text: "UP"
|
|
|
|
to: "1"
|
|
|
|
- from: "2"
|
|
|
|
text: "UNKW"
|
|
|
|
to: "2"
|
|
|
|
valueName: current
|
2017-01-10 11:08:26 -05:00
|
|
|
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
|
2017-03-10 08:28:53 -05:00
|
|
|
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"
|
2017-10-09 11:09:10 -04:00
|
|
|
Degraded or Unknown: "#EAB839"
|
2017-03-10 08:28:53 -05:00
|
|
|
Down: "#890F02"
|
|
|
|
Error: "#890F02"
|
|
|
|
Fatal: "#890F02"
|