Sign inSign up

jnovack/mosquitto-exporter

By jnovack

Updated about 6 years ago

Minimalist mosquitto-exporter for single host deployments

Image
0

10K+

jnovack/mosquitto-exporter repository overview

mosquitto-exporter

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

Features

TLS and Websocket Endpoints

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.

Tag summary

Content type

Image

Digest

Size

4.1 MB

Last updated

about 6 years ago

docker pull jnovack/mosquitto-exporter