abulimov / collectd-riakcs

A plugin for collectd to gather metrics for a Riak CS instance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

collectd-riakcs

A plugin for collectd to gather metrics for a RiakCS instance. Uses requests-aws module to get stats from Riak CS stats endpoint, then parses stats JSON.

Setup

Using pip

pip install 'git+https://github.com/abulimov/collectd-riakcs#egg=collectd-riakcs'

Configuration

LoadPlugin "python"

<Plugin python>
    Import "collectd_riakcs"

    <Module riakcs>
      SecretKey "RIAK_CS_SECRET_KEY"
      AccessKey "RIAK_CS_ACCESS_KEY"
      URL "http://127.0.0.1:8080/riak-cs/stats"
    </Module>
</Plugin>

Contributing

Please read CONTRIBUTING.md if you wish to contribute.

License

(c) 2015 Alexander Bulimov.

Licensed under the MIT License.

About

A plugin for collectd to gather metrics for a Riak CS instance

License:MIT License


Languages

Language:Python 100.0%