
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
53 lines
1.3 KiB
Django/Jinja
53 lines
1.3 KiB
Django/Jinja
#jinja2:lstrip_blocks: True
|
|
---
|
|
dashboard:
|
|
title: Cloud Rabbitmq Monitoring
|
|
templating:
|
|
- name: Cloud
|
|
query: "*"
|
|
refresh: true
|
|
type: query
|
|
- name: Node
|
|
query: "$Cloud.*"
|
|
refresh: true
|
|
type: query
|
|
time:
|
|
from: now-1h
|
|
to: now
|
|
rows:
|
|
{% include 'partials/description.yaml' %}
|
|
|
|
{% set partial_panel = {
|
|
'title': 'Rabbitmq Process Metrics',
|
|
'processes': ['rabbitmq',],
|
|
}
|
|
%}
|
|
{% include 'partials/per_process_single_row.yaml.j2' %}
|
|
|
|
{% set partial_panel = {'node': '$Node'} %}
|
|
{% include 'partials/rabbitmq_metrics.yaml.j2' %}
|
|
|
|
- title: Rabbitmq Log Messages
|
|
collapse: true
|
|
height: 200px
|
|
showTitle: true
|
|
panels:
|
|
- title: Tail
|
|
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: alias(scale($Cloud.$Node.tail-rabbitmq.counter-error, 10), 'Error')
|
|
- target: alias(scale($Cloud.$Node.tail-rabbitmq.counter-warn, 10), 'Warn')
|
|
- target: alias(scale($Cloud.$Node.tail-rabbitmq.counter-info, 10), 'Info')
|