
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
115 lines
3.8 KiB
Django/Jinja
115 lines
3.8 KiB
Django/Jinja
#jinja2:lstrip_blocks: True
|
|
- title: Rabbitmq Metrics
|
|
collapse: true
|
|
height: 200px
|
|
showTitle: true
|
|
panels:
|
|
- title: Rabbitmq Object Counts
|
|
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: alias($Cloud.{{partial_panel.node}}.rabbitmq_monitoring.gauge-queues, 'Queues')
|
|
- target: alias($Cloud.{{partial_panel.node}}.rabbitmq_monitoring.gauge-connections, 'Connections')
|
|
- target: alias($Cloud.{{partial_panel.node}}.rabbitmq_monitoring.gauge-consumers, 'Consumers')
|
|
- target: alias($Cloud.{{partial_panel.node}}.rabbitmq_monitoring.gauge-channels, 'Channels')
|
|
- target: alias($Cloud.{{partial_panel.node}}.rabbitmq_monitoring.gauge-exchanges, 'Exchanges')
|
|
- title: Queue Totals
|
|
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
|
|
steppedLine: true
|
|
targets:
|
|
- target: aliasByNode(aliasSub(aliasSub($Cloud.{{partial_panel.node}}.rabbitmq_monitoring.gauge-queue_total-*-count, 'gauge-queue_total-', ''), '-count', ''), 3)
|
|
- title: Queue Total Rates
|
|
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}}.rabbitmq_monitoring.gauge-queue_total-*-rate, 'gauge-queue_total-', ''), '-rate', ''), 3)
|
|
- title: Message Stats Count
|
|
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}}.rabbitmq_monitoring.gauge-message_total-*-count, 'gauge-message_total-', ''), '-count', ''), 3)
|
|
- title: Message Stats Rate
|
|
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}}.rabbitmq_monitoring.gauge-message_total-*-rate, 'gauge-message_total-', ''), '-rate', ''), 3)
|
|
- title: Queue Message Counts
|
|
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
|
|
steppedLine: true
|
|
targets:
|
|
- target: aliasByMetric(aliasSub($Cloud.{{partial_panel.node}}.rabbitmq_monitoring.*-msg_count-*, 'gauge-msg_count-', ''))
|