Skip to main content

https://github.com/orachide/rabbitmq-metrics-to-graphite

Project description

rabbitmq-metrics-to-graphite

Read datas from RABBITMQ and send metrics to Graphite

How to install

Using pip

pip install rabbitmq-metrics-to-graphite

From git rpo

git clone https://github.com/orachide/rabbitmq-metrics-to-graphite.git
cd rabbitmq-metrics-to-graphite
python setup.py build
python setup.py install

Configuration

Example configuration file:

{
    "graphite_servers": [{
        "host": "localhost",
        "port": 2003,
        "prefix": "mycustomprefix.rabbitmq"
    }],
    "rabbitmq_clusters": [{
            "cluster_name": "DC1",
            "host": "localhost",
            "port": 15672,
            "username": "guest",
            "password": "guest",
            "vhost": "/"
        },
        {
            "cluster_name": "DC2",
            "host": "localhost",
            "port": 15672,
            "username": "guest",
            "password": "guest",
            "vhost": "/"
        }
    ]
}

Execute program

rabbitmq-metrics-to-graphite /path/to/configfile

# Verbose
rabbitmq-metrics-to-graphite /path/to/configfile -v

Grafana dashboard

Using grafana-rabbitmq-metrics.json we can obtain the following dashboard

Grafana dashboard example

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rabbitmq-metrics-to-graphite, version 0.5
Filename, size File type Python version Upload date Hashes
Filename, size rabbitmq-metrics-to-graphite-0.5.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page