No description
- Go 79.6%
- Makefile 14.4%
- Dockerfile 6%
| .gitignore | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| Jenkinsfile | ||
| LICENSE | ||
| main.go | ||
| Makefile | ||
| README.md | ||
| VERSION | ||
prometheus-mailgun-exporter
Prometheus Mailgun Exporter
Build
make will build both binary and Docker image
Run
The exporter will serve metrics on http://<ip>:9616/metrics, and a healthz endpoint on http://<ip>:9616/healthz for use in Kubernetes
export MG_API_KEY=<api_key>
- Docker
docker run -ti --rm --name prometheus-mailgun-exporter -e MG_API_KEY missionlane/prometheus-mailgun-exporter:latest
- Binary
./prometheus-mailgun-exporter
Europe Users
export API_BASE=https://api.eu.mailgun.net/v3
Dashboard
The Grafana dashboard can be found here