project-config/grafana/mosquitto.yaml
Matthew Treinish fa6380af28
Fix metric names for received messages
This commit fixes a "typo" in the stat names for the metrics with
messages received. In statsd the stats are spelled incorrectly which
means these didn't match anything. Correcting this to match my
inability to spell in the mqtt_statsd config and we should have working
graphs.

Change-Id: Ia0965f12239190c6dd11a6a0d78bf8f18fe178c9
2017-04-27 11:14:31 -04:00

61 lines
1.9 KiB
YAML

dashboard:
title: Mosquitto Status
rows:
- title: Description
height: 100px
panels:
- title: Description
content: |
**This dashboard is managed by [Grafyaml](http://docs.openstack.org/infra/system-config/grafyaml.html).**
If you would like to make changes to this dashboard, please see the grafana directory in [project-config](https://git.openstack.org/cgit/openstack-infra/project-config/tree/grafana/mosquitto.yaml).
type: text
- title: Client Information
height: 150px
panels:
- title: Total Clients
span: 2
sparkline:
full: true
show: true
targets:
- target: stats.gauges.mosquitto.total_clients
type: singlestat
valueName: current
- title: Subscription Count
span: 2
sparkline:
full: true
show: true
targets:
- target: stats.gauges.mosquitto.subscription_count
type: singlestat
valueName: current
showTitle: true
- title: Connection Information
height: 250px
panels:
- title: Message Statistics
span: 4
stack: true
tooltip:
value_type: individual
targets:
- target: alias(stats.gauges.mosquitto.messages_sent, 'Messages Sent')
- target: alias(stats.gauges.mosquitto.messages_recieved, 'Messages Received')
seriesOverrides:
- alias: Max
stack: False
type: graph
- title: Heap Size
span: 4
targets:
- target: stats.gauges.mosquitto.heap_size
type: graph
- title: Data Transfers
span: 4
targets:
- target: stats.gauges.mosquitto.bytes_sent
- target: stats.gauges.mosquitto.bytes_recieved
type: graph