Skip to content

tsenart/mesos_exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus Mesos exporter

This is an exporter for Prometheus to get Mesos data.

Building and running

make
./mesos_exporter <flags>

Flags

Name Description
web.listen-address Address to listen on for web interface and telemetry.
web.telemetry-path Path under which to expose metrics.
exporter.discovery Enable auto disovery of elected master and active slaves.
exporter.discovery.master-url URL to a Mesos master.
exporter.local-url URL to the local slave if not using discovery.
exporter.interval Interval at which to fetch the Mesos slave metrics.
log.level Only log messages with the given severity or above. Valid levels: debug, info, warn, error, fatal, panic.

Modes

mesos_exporter can operate in two modes: discovery and local.

In local mode only the IP specified with the commandline flag -exporter.local-address will be queried and exported. This mode is to facilitate having one exporter per Mesos slave.

In discovery mode the Mesos slaves are discovered using the -exporter.discovery.master flag. The exporter will fetch all slave metrics and export them. This mode lets you have one exporter per Mesos cluster.

Docker

A Docker container is available at https://registry.hub.docker.com/u/prom/mesos-exporter

If you want to use it with your own configuration, you can mount it as a volume:

docker run -d -p 4000:4000 prom/mesos-exporter

It's also possible to use in your own Dockerfile:

FROM prom/mesos-exporter

About

Prometheus exporter for Mesos

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 92.8%
  • Makefile 7.2%