mirror of
https://github.com/hikhvar/mqtt2prometheus.git
synced 2026-02-14 09:59:52 +00:00
@@ -46,7 +46,7 @@ For example the `topic_path: devices/+/sensors/#` will match:
|
|||||||
* `devices/home/sensors/foo/bar`
|
* `devices/home/sensors/foo/bar`
|
||||||
* `devices/workshop/sensors/temperature`
|
* `devices/workshop/sensors/temperature`
|
||||||
|
|
||||||
### JSON Seperator
|
### JSON Separator
|
||||||
The exporter interprets `mqtt_name` as [gojsonq](https://github.com/thedevsaddam/gojsonq) paths. Those paths will be used
|
The exporter interprets `mqtt_name` as [gojsonq](https://github.com/thedevsaddam/gojsonq) paths. Those paths will be used
|
||||||
to find the value in the JSON message.
|
to find the value in the JSON message.
|
||||||
For example `mqtt_name: computed.heat_index`
|
For example `mqtt_name: computed.heat_index`
|
||||||
|
|||||||
Reference in New Issue
Block a user