browbeat/ansible/install/roles/grafana-dashboards/templates/partials/turbostat.yaml
akrzos c34543f909 Transition to GrafYaml for Dashboard Storage
Reasons to move from json, json.j2 to yaml/yaml.j2 + GrafYaml:
* Yaml is less lines
* Yaml allows comments
* Yaml means less curly braces and quotes
* GrafYaml manages panel ids and target refIds
* GrafYaml defaults reduce number of lines stored
* GrafYaml allows more easily cut/paste management of Dashboards

Identified Downsides:
* GrafYaml will be behind the Grafana Dashboard Model (Until code is updated)
* Json will always allow full feature set
* Installing Dashboards now requires GrafYaml

New Dashboards/Features:
* Templated Dashboards (Reduce line count in "static" dashboards)
* Cloud Specific networks - all dashboard
* Three Node Performance Food groups Enhanced
* Networker Node added for Cloud Specific Dashboards and Total Memory

Change-Id: I55ce9f9f6c28497c8b4ed7a19d42657a8eb14170
2018-02-27 10:20:18 -05:00

59 lines
1.9 KiB
YAML

- title: Turbostat
collapse: true
height: 200px
showTitle: true
panels:
- title: $Cloud - $Node - Gauge TSC & SMI Count
type: graph
decimals: 2
fill: 0
nullPointMode: 'null'
seriesOverrides:
- alias: SMI Count
yaxis: 2
targets:
- target: aliasByNode(scale(aliasSub($Cloud.$Node.turbostat-cpu*.gauge-TSC, 'turbostat-','tsc-'), 1000000), 2)
- target: alias(sumSeries($Cloud.$Node.turbostat-cpu*.count), 'SMI Count')
yaxes:
- format: hertz
- format: short
- title: $Cloud - $Node - turbostat Freq Avg
type: graph
fill: 0
nullPointMode: 'null'
targets:
- target: aliasByNode(scale(aliasSub($Cloud.$Node.turbostat-cpu*.frequency-average, 'turbostat-', ''), 1000000), 2)
yaxes:
- format: hertz
- format: short
- title: $Cloud - $Node - turbostat Freq Busy
type: graph
decimals: 2
fill: 0
nullPointMode: 'null'
targets:
- target: aliasByNode(scale($Cloud.$Node.turbostat-cpu*.frequency-busy, 1000000), 2)
yaxes:
- format: hertz
- format: short
- title: $Cloud - $Node - turbostat c0%
type: graph
decimals: 2
fill: 0
nullPointMode: 'null'
targets:
- target: aliasByNode($Cloud.$Node.turbostat-cpu*.percent-c0, 2)
yaxes:
- format: percent
- format: short
- title: $Cloud - $Node - turbostat c1%
type: graph
decimals: 2
fill: 0
nullPointMode: 'null'
targets:
- target: aliasByNode($Cloud.$Node.turbostat-cpu*.percent-c1, 2)
yaxes:
- format: percent
- format: short