diff options
Diffstat (limited to 'docs/gw/mqtt.rst')
-rw-r--r-- | docs/gw/mqtt.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/gw/mqtt.rst b/docs/gw/mqtt.rst index 25f2b005..0027e2a5 100644 --- a/docs/gw/mqtt.rst +++ b/docs/gw/mqtt.rst @@ -12,12 +12,18 @@ following: [mqtt] host=localhost port=883 + tls=true user=glances password=glances topic=glances + topic_structure=per-metric and run Glances with: .. code-block:: console $ glances --export mqtt + +The topic_structure field aims at configuring the way stats are exported to MQTT (see #1798): +- per-metric: one event per metric (default behavor) +- per-plugin: one event per plugin |