Mesos App Exporter for Prometheus
Project description
🔥 mae
mae
collects Prometheus metrics from your Mesos apps.
See Deployment Strategy to learn how to set up mae
on your Mesos cluster.
Requirements
mae
requires Python (>= 2.7).
Installation
pip install mae
Usage
$ mae --help
usage: mae [-h] app_port slave_address slave_port
positional arguments:
app_port Port on which this exporter will run on
slave_address Mesos slave address
slave_port Mesos slave port
Deployment Strategy
mae
is designed to be run as a daemon on all Mesos slave nodes. This ideally involves 2 steps —
- Install
mae
as part of your base image/AMI or via user data. - Run
mae
as a daemon. For example, if your distro supportssystemd
, here's a sample script that runs the exporter on port8888
—# Save this to /etc/systemd/system/mae.service [Unit] Description=Mesos App Exporter After=network.target [Service] Type=simple Restart=on-failure ExecStart=/usr/local/bin/mae 8888 localhost 5051 # Assuming the Mesos slave process is running on port 5051 [Install] WantedBy=multi-user.target
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mae-1.0.3.tar.gz
(4.7 kB
view hashes)
Built Distributions
mae-1.0.3-py2.7.egg
(8.7 kB
view hashes)
mae-1.0.3-py2-none-any.whl
(5.6 kB
view hashes)