Prometheus metrics exporter for the Mosquitto message broker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
parra dd0eeabff7
Merge branch 'sapcc:master' into master
4 months ago
.github/workflows Fixed action to match tag pattern 9 months ago
.dockerignore use go 1.14 and go modules 3 years ago
.gitignore first version 6 years ago
Dockerfile Update to go 1.17 and latest mqtt and prometheus client 1 year ago
LICENSE first version 6 years ago
Makefile Update to go 1.17 and latest mqtt and prometheus client 1 year ago
README.md use go 1.14 and go modules 3 years ago
go.mod Update to go 1.17 and latest mqtt and prometheus client 1 year ago
go.sum Update to go 1.17 and latest mqtt and prometheus client 1 year ago
handlers.go Refatoring 6 years ago
main.go Update to go 1.17 and latest mqtt and prometheus client 1 year ago
mosquitto_counter.go Mosquitto Counter (#9) 5 years ago
renovate.json Add renovate.json (#36) 9 months ago
version.go Refatoring 6 years ago

README.md

Mosquitto Exporter

Prometheus exporter for the Mosquitto MQTT message broker.

There is a docker image available:

docker run \
  -p 9234:9234 sapcc/mosquitto-exporter \
  --endpoint tcp://mosquitto:1883

Usage:

NAME:
   Mosquitto exporter - Prometheus exporter for broker metrics

USAGE:
   mosquitto_exporter [global options] command [command options] [arguments...]

VERSION:
   0.6.0 (0ac92b5), go1.14.2

AUTHORS:
   Arturo Reuschenbach Puncernau <a.reuschenbach.puncernau@sap.com>
   Fabian Ruff <fabian.ruff@sap.com>

COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --endpoint value, -e value      Endpoint for the Mosquitto message broker (default: "tcp://127.0.0.1:1883") [$BROKER_ENDPOINT]
   --bind-address value, -b value  Listen address for metrics HTTP endpoint (default: "0.0.0.0:9234") [$BIND_ADDRESS]
   --user value, -u value          Username for the Mosquitto message broker [$MQTT_USER]
   --pass value, -p value          Password for the User on the Mosquitto message broker [$MQTT_PASS]
   --cert value, -c value          Location of a TLS certificate .pem file for the Mosquitto message broker [$MQTT_CERT]
   --key value, -k value           Location of a TLS private key .pem file for the Mosquitto message broker [$MQTT_KEY]
   --help, -h                      show help
   --version, -v                   print the version