You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

24 lines
641 B

# How to subscribe to the MQTT server
[mqtt]
hostname = "localhost"
#port = 1883 # optional, default: 1883
#timeout = 60 # in seconds, optional, default: 60
# Which Statsd server to send data to
[statsd]
hostname = "localhost"
#port = 8125 # optional, default: 8125
#prefix = "mqtt.stats" # optional, default: "mqtt.stats"
# List of topics to subscribe to, and corresponding stat
[[topics]]
mqtt = "$SYS/broker/messages/publish/sent"
statsd = "publish_message_sent"
[[topics]]
mqtt = "$SYS/broker/clients/connected"
statsd = "connected_clients"
[[topics]]
mqtt = "hello/world"
statsd = "hello_world"