mirror of
https://github.com/hikhvar/mqtt2prometheus.git
synced 2026-02-14 09:59:52 +00:00
Update Readme.md
JSON needs to be upper case, otherwiese "could not setup a metric extractor {"error": "unsupported object format: json"} " is thrown.
This commit is contained in:
committed by
Christian Schneider
parent
6d695bdbf4
commit
d562b927f8
@@ -170,7 +170,7 @@ mqtt:
|
||||
# This is the default.
|
||||
object_per_topic_config:
|
||||
# The encoding of the object, currently only json is supported
|
||||
encoding: json
|
||||
encoding: JSON
|
||||
cache:
|
||||
# Timeout. Each received metric will be presented for this time if no update is send via MQTT.
|
||||
# Set the timeout to -1 to disable the deletion of metrics from the cache. The exporter presents the ingest timestamp
|
||||
|
||||
Reference in New Issue
Block a user