Skip to content

Prometheus metrics exporter for the Mosquitto message broker

License

Notifications You must be signed in to change notification settings

clhain/mosquitto-exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mosquitto Exporter

Prometheus exporter for the Mosquitto MQTT message broker.

There is a docker image available:

docker run \
  -e BROKER_ENDPOINT=tcp://mosquitto:1883 \
  -p 9234:9234 sapcc/mosquitto-exporter

Usage:

NAME:
   Mosquitto exporter - Prometheus exporter for broker metrics

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

VERSION:
   0.1 (78978f1), go1.7.4

AUTHOR(S):
   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, -e "tcp://127.0.0.1:1883"	Endpoint for the Mosquitto message broker [$BROKER_ENDPOINT]
   --bind-address, -b "0.0.0.0:9234"		Listen address for metrics HTTP endpoint [$BIND_ADDRESS]
   --help, -h					show help
   --version, -v				print the version

Todo:

  • Add support for auth and TLS setting for the broker endpoint

About

Prometheus metrics exporter for the Mosquitto message broker

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 89.3%
  • Makefile 10.7%