Add messages dropped to mosquitto graphs and add units

This commit cleans up the grafana dashboard for mosquitto a bit by
adding units to the titles so we know what the data we're looking at is.
Additionally it adds a new line for messages dropped which is another
stat we're populating from mqtt_statsd.

Change-Id: I4940c0fbf48ddd41c745d643bc95652bb5eaa9d4
This commit is contained in:
Matthew Treinish 2017-04-28 20:56:46 -04:00
parent 3a6d88ce63
commit 217a956a19
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177
1 changed files with 4 additions and 3 deletions

View File

@ -35,7 +35,7 @@ dashboard:
- title: Connection Information
height: 250px
panels:
- title: Message Statistics
- title: Message Rates (messages / minute)
span: 4
stack: true
tooltip:
@ -43,16 +43,17 @@ dashboard:
targets:
- target: alias(stats.gauges.mosquitto.messages_sent, 'Messages Sent')
- target: alias(stats.gauges.mosquitto.messages_recieved, 'Messages Received')
- target: alias(stats.gauges.mosquitto.messages_dropped, 'Messages Dropped')
seriesOverrides:
- alias: Max
stack: False
type: graph
- title: Heap Size
- title: Heap Size (Bytes)
span: 4
targets:
- target: stats.gauges.mosquitto.heap_size
type: graph
- title: Data Transfers
- title: Data Transfered (bytes / minute)
span: 4
targets:
- target: stats.gauges.mosquitto.bytes_sent