No description
This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Go 79.6%
  • Makefile 14.4%
  • Dockerfile 6%
Find a file
2021-10-04 09:24:36 +01:00
.gitignore Update Libraries, Add /healthz endpoint 2021-08-13 15:36:10 +01:00
Dockerfile Update EXPOSE port in Dockerfile 2019-07-30 17:39:40 -04:00
go.mod Update Libraries, Add /healthz endpoint 2021-08-13 15:36:10 +01:00
go.sum Update Libraries, Add /healthz endpoint 2021-08-13 15:36:10 +01:00
Jenkinsfile Allow automated deployment of newly released/tagged image 2019-08-06 15:42:55 -04:00
LICENSE Initial commit 2019-07-15 13:54:32 -04:00
main.go Rolled back version, applied logging changes 2021-10-04 09:24:36 +01:00
Makefile Add latest tag when building docker image 2019-07-30 17:39:40 -04:00
README.md Update Libraries, Add /healthz endpoint 2021-08-13 15:36:10 +01:00
VERSION Rolled back version, applied logging changes 2021-10-04 09:24:36 +01:00

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
    1. docker run -ti --rm --name prometheus-mailgun-exporter -e MG_API_KEY missionlane/prometheus-mailgun-exporter:latest
  • Binary
    1. ./prometheus-mailgun-exporter

Europe Users

export API_BASE=https://api.eu.mailgun.net/v3

Dashboard

The Grafana dashboard can be found here