puppet-mqtt_statsd/templates/mqtt_statsd.yaml.erb
Matthew Treinish 518d0d2600
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
2017-04-21 15:28:16 -04:00

25 lines
835 B
Plaintext

statsd:
hostname: <%= @statsd_hostname %>
port: <%= @statsd_port %>
prefix: <%= @statsd_prefix %>
mqtt:
hostname: <%= @mqtt_hostname %>
port: <%= @mqtt_port %>
topics:
- mqtt_topic: $SYS/broker/heap/current
statsd_topic: heap_size
- mqtt_topic: $SYS/broker/clients/total
statsd_topic: total_clients
- mqtt_topic: $SYS/broker/load/bytes/received/1min
statsd_topic: bytes_recieved
- 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/load/messages/received/1min
statsd_topic: messages_recieved
- mqtt_topic: $SYS/broker/load/messages/sent/1min
statsd_topic: messages_sent
- mqtt_topic: $SYS/broker/load/publish/dropped/1min
statsd_topic: messages_dropped