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.
 

23 lines
614 B

# How to subscribe to the MQTT server
[mqtt]
hostname = "localhost"
#port = 1883 # optional, default: 1883
# 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_topic = "$SYS/broker/messages/publish/sent"
statsd_topic = "publish_message_sent"
[[topics]]
mqtt_topic = "$SYS/broker/clients/connected"
statsd_topic = "connected_clients"
[[topics]]
mqtt_topic = "hello/world"
statsd_topic = "hello_world"