browbeat/ansible/install/roles/grafana-dashboards/templates/partials/apache_metrics.yaml.j2
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

92 lines
4.1 KiB
Django/Jinja

- title: Apache Metrics
collapse: true
height: 200px
showTitle: true
panels:
- title: Apache Bytes
type: graph
fill: 0
legend:
alignAsTable: true
avg: false
current: true
max: true
min: true
rightSide: true
show: true
total: false
values: true
nullPointMode: 'null'
span: 6
targets:
- target: aliasByNode(aliasSub(aliasSub($Cloud.{{partial_panel.node}}.apache-status.apache_bytes, 'apache_', ''), 'overcloud-', ''), 1, 3)
yaxes:
- format: bytes
- format: short
- title: Apache Requests
type: graph
fill: 0
legend:
alignAsTable: true
avg: false
current: true
max: true
min: true
rightSide: true
show: true
total: false
values: true
nullPointMode: 'null'
span: 6
targets:
- target: aliasByNode(aliasSub(aliasSub($Cloud.{{partial_panel.node}}.apache-status.apache_requests, 'apache_', ''), 'overcloud-', ''), 1, 3)
yaxes:
- format: ops
- format: short
- title: Apache Connections/Workers
type: graph
fill: 0
legend:
alignAsTable: true
avg: false
current: true
max: true
min: true
rightSide: true
show: true
total: false
values: true
nullPointMode: 'null'
targets:
- target: aliasByNode(aliasSub(aliasSub($Cloud.{{partial_panel.node}}.apache-status.apache_connections, 'apache_', ''), 'overcloud-', ''), 1, 3)
- target: aliasByNode(aliasSub(aliasSub($Cloud.{{partial_panel.node}}.apache-status.apache_idle_workers, 'apache_', ''), 'overcloud-', ''), 1, 3)
yaxes:
- format: ops
- format: short
- title: Apache Scoreboard (All Controllers Summed)
type: graph
legend:
alignAsTable: true
avg: false
current: true
max: true
min: true
rightSide: true
show: true
total: false
values: true
nullPointMode: 'null'
stack: true
targets:
- target: aliasByNode(aliasSub(sumSeries($Cloud.{{partial_panel.node}}.apache-status.apache_scoreboard-closing), 'apache_scoreboard-', ''), 3)
- target: aliasByNode(aliasSub(sumSeries($Cloud.{{partial_panel.node}}.apache-status.apache_scoreboard-dnslookup), 'apache_scoreboard-', ''), 3)
- target: aliasByNode(aliasSub(sumSeries($Cloud.{{partial_panel.node}}.apache-status.apache_scoreboard-finishing), 'apache_scoreboard-', ''), 3)
- target: aliasByNode(aliasSub(sumSeries($Cloud.{{partial_panel.node}}.apache-status.apache_scoreboard-idle_cleanup), 'apache_scoreboard-', ''), 3)
- target: aliasByNode(aliasSub(sumSeries($Cloud.{{partial_panel.node}}.apache-status.apache_scoreboard-keepalive), 'apache_scoreboard-', ''), 3)
- target: aliasByNode(aliasSub(sumSeries($Cloud.{{partial_panel.node}}.apache-status.apache_scoreboard-logging), 'apache_scoreboard-', ''), 3)
- target: aliasByNode(aliasSub(sumSeries($Cloud.{{partial_panel.node}}.apache-status.apache_scoreboard-open), 'apache_scoreboard-', ''), 3)
- target: aliasByNode(aliasSub(sumSeries($Cloud.{{partial_panel.node}}.apache-status.apache_scoreboard-reading), 'apache_scoreboard-', ''), 3)
- target: aliasByNode(aliasSub(sumSeries($Cloud.{{partial_panel.node}}.apache-status.apache_scoreboard-sending), 'apache_scoreboard-', ''), 3)
- target: aliasByNode(aliasSub(sumSeries($Cloud.{{partial_panel.node}}.apache-status.apache_scoreboard-starting), 'apache_scoreboard-', ''), 3)
- target: aliasByNode(aliasSub(sumSeries($Cloud.{{partial_panel.node}}.apache-status.apache_scoreboard-waiting), 'apache_scoreboard-', ''), 3)