Prometheus Mailgun Exporter
make
will build both binary and Docker image
The exporter will serve metrics on http://<ip>:9616/metrics
export MG_API_KEY=<api_key>
export MG_DOMAIN=<domain>
- Docker
docker run -ti --rm --name prometheus-mailgun-exporter -e MG_API_KEY=<key> -e MG_DOMAIN=<domain> casestack/prometheus-mailgun-exporter:latest
- Binary
./prometheus-mailgun-exporter
export API_BASE=https://api.eu.mailgun.net/v3
The Grafana dashboard can be found here