Skip to content

Alexandre-io/mautic_exporter

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Files

Permalink
Failed to load latest commit information.

Mautic Exporter

Prometheus exporter for Mautic

Usage of mautic_exporter

docker run --name mautic_exporter -p 9851:9851 -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:9851']