AerisCloud.statsd

StatsD Role

StatsD will play an aggregation and redistribution role in our datacenter. Combined with collectd on remote machines and backends, it then becomes possible to fan in all the stats data, and then fan it out to different services/tools.

It will also of course be possible to stream live stats from any application within our datacenter should we see a need for this.

Available backends

Backends are forward destination to which we will want to send the aggregated data to.

For now we support Librato (good for metrics), instrumental (somewhat similar, with more emphasis on real-time) and graphite (similar, but self-hosted and open-source).

Configuration

inventory/my_inventory

[statsd:children]
statsd-somedc-prod

[statsd-somedc-prod]
statsd-1  ansible_ssh_host=172.16.0.93

[ ... skipping ... ]

[somedc-prod:children]
statsd-somedc-prod

Execution

When provisioning with this role, you can also add Librato, Instrumental or Graphite using "** --extra-vars= **" as described below.

Do not add any credentials to your inventory

    --extra-vars="use_librato=false" \
    --extra-vars="[email protected]" \
    --extra-vars="librato_token=ACCOUNT-TOKEN" \
    --extra-vars="use_instrumental=false" \
    --extra-vars="instrumental_key=API-KEY" \
    --extra-vars="use_graphite=false" \
    --extra-vars="graphite_host=graphite-1" \
    --extra-vars="graphite_port=2003"

See also

About

Installs statsd on a server

Install
ansible-galaxy install AerisCloud.statsd
GitHub repository
License
mit
Downloads
230
Owner
Integrated local development and production management