Alexandre-io / mautic_exporter

Prometheus exporter for Mautic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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']

About

Prometheus exporter for Mautic

License:MIT License


Languages

Language:Go 93.5%Language:Dockerfile 4.6%Language:Shell 1.9%