Skip to content

A Prometheus metrics exporter for the Marathon Mesos framework

License

Notifications You must be signed in to change notification settings

criteo/marathon_exporter

Repository files navigation

Marathon Prometheus Exporter

Build Status Docker Pulls

A Prometheus metrics exporter for the Marathon Mesos framework.

This exporter exposes Marathon's Codahale/Dropwizard metrics via its /metrics endpoint. To learn more, visit the Marathon metrics doc.

Note: version v1.5.1+ of this exporter is not compatible with marathon 1.4.0 and below.

Getting

$ go get github.com/criteo/marathon_exporter

-or-

$ docker pull gettyimages/marathon_exporter

-or- locally build image:

make image
docker run -it marathon_exporter --help

Using

Usage of marathon_exporter:
  -marathon.uri string
        URI of Marathon (default "http://marathon.mesos:8080")
        Note: Supply HTTP Basic Auth (i.e. user:[email protected])
  -web.listen-address string
        Address to listen on for web interface and telemetry. (default ":9088")
  -web.telemetry-path string
        Path under which to expose metrics. (default "/metrics")
  -log.format value
        If set use a syslog logger or JSON logging. Example: logger:syslog?appname=bob&local=7 or logger:stdout?json=true. Defaults to stderr.
  -log.level value
        Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]. (default info)