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.

Source Distribution

rabbitmq-metrics-to-graphite-0.5.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file rabbitmq-metrics-to-graphite-0.5.tar.gz.

File metadata

  • Download URL: rabbitmq-metrics-to-graphite-0.5.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for rabbitmq-metrics-to-graphite-0.5.tar.gz
Algorithm Hash digest
SHA256 840c673f8d810aa15d51c894305128d2caf0f163340e1eb7e295e11b34c3893d
MD5 a19c71ebd34d8ce05418aee5f29763b0
BLAKE2b-256 3035bea691fc6d4dab787b914a5b1e547a02bf903be30bcb52e89bcebde2ab32

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page