Configurable general purpose Prometheus exporter for MQTT.
Subscribes to one or more MQTT topics, and lets you configure prometheus metrics based on pattern matching.
conf/)exampleconf/metric_example.yaml for details)pip3 install -r requirements-frozen.txt./mqtt_exporter.pyFor your convenience, there is also a Docker image available:
docker run -d \
-v "$(pwd)/myconfig:/usr/src/app/conf:ro" \
-p "9344:9344" \
ghcr.io/fhemberger/mqtt_exporter
If you want to mount your configuration to a different directory, add the -c flag:
docker run -d \
-v "$(pwd)/myconfig:/myconfig:ro" \
-p "9344:9344" \
ghcr.io/fhemberger/mqtt_exporter -c /myconfig
Content type
Image
Digest
sha256:7f9be35d5…
Size
23.4 MB
Last updated
4 months ago
docker pull fhemberger/mqtt_exporter