Minimalist mosquitto-exporter for single host deployments
10K+
Prometheus exporter for the Mosquitto MQTT message broker.
There is a docker image available:
docker run \
-p 9234:9234 jnovack/mosquitto-exporter \
-endpoint tcp://mosquitto:1883
MQTT endpoints can be plaintext (tcp://mosquitto:1883) or TLS-enabled
(tls://mosquitto:8883). You can also utilize websockets
(ws://mosquitto:8080) or TLS-enabled websockets (wss://mosquitto:8081).
This code is heavily based off of sapcc/mosquitto-exporter.
I am unhappy with the speed at which the upstream makes changes, and I wanted another project in Go. Additionally, rewriting and refactoring helps someone understand more about a project and technology.
So should you use my fork? It's your choice! At the time of this writing, the upstream project had a number of pull-requests open for months for what I'll consider are "simple necessary fixes" and they have staled out. I needed those fixes today, so I forked it and rewrote it, today.
Content type
Image
Digest
Size
4.1 MB
Last updated
about 6 years ago
docker pull jnovack/mosquitto-exporter