Update subscribed mosquitto metrics

This commit updates the mqtt_statsd yaml to change our metrics for
messages from totals to sampled counts which should make our graphing
more useful. This also adds dropped messages to the stats, while I don't
expect we're dropping any it'll be good to track it too.

Change-Id: Icaaafb23d83140ed0b97d8690e9e37268289794f
This commit is contained in:
Matthew Treinish 2017-04-21 15:28:16 -04:00
parent 364384bf52
commit 518d0d2600
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177
1 changed files with 6 additions and 4 deletions

View File

@ -10,13 +10,15 @@ topics:
statsd_topic: heap_size
- mqtt_topic: $SYS/broker/clients/total
statsd_topic: total_clients
- mqtt_topic: $SYS/broker/bytes/received
- mqtt_topic: $SYS/broker/load/bytes/received/1min
statsd_topic: bytes_recieved
- mqtt_topic: $SYS/broker/bytes/sent
- mqtt_topic: $SYS/broker/load/bytes/sent/1min
statsd_topic: bytes_sent
- mqtt_topic: $SYS/broker/subscriptions/count
statsd_topic: subscription_count
- mqtt_topic: $SYS/broker/messages/received
- mqtt_topic: $SYS/broker/load/messages/received/1min
statsd_topic: messages_recieved
- mqtt_topic: $SYS/broker/messages/sent
- mqtt_topic: $SYS/broker/load/messages/sent/1min
statsd_topic: messages_sent
- mqtt_topic: $SYS/broker/load/publish/dropped/1min
statsd_topic: messages_dropped