Skip to content
Prometheus exporter for Mautic
Go Dockerfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples/grafana
.gitignore
Dockerfile
Gopkg.lock
Gopkg.toml
LICENSE
README.md
docker-entrypoint.sh
mautic_exporter.go

README.md

Mautic Exporter

Prometheus exporter for Mautic

Usage of mautic_exporter

docker run --name mautic_exporter -p 9117:9117 -e MAUTIC_DB_HOST="127.0.0.1" -e MAUTIC_DB_PORT="3306" -e MAUTIC_DB_USER="mautic" -e MAUTIC_DB_NAME="mautic" -e MAUTIC_DB_PASSWORD="mautic" -d alexandreio/mautic_exporter:latest

Prometheus configuration for mautic_exporter

For Prometheus to start scraping the metrics you have to edit /etc/prometheus/prometheus.yml and add:

  - job_name: 'mautic'
    # metrics_path defaults to '/metrics'
    # scheme defaults to 'http'.
    static_configs:
    - targets: ['localhost:9117']

Grafana

You can find an example of Mautic dashboard in examples/grafana/dashboard.json

You can’t perform that action at this time.