statsd-zag-backend

0.1.1 • Public • Published

StatsD Zag backend

Basic StatsD backend for for Voxer's Zag metric server.

Current version sends aggregated metrics on flush. The plan is to optionally add 'packet mode' that directly pipes the metric events to Zag.

Configuration

Type Default Description
daemons ["127.0.0.1:8876"] List of zag daemons
key_rules {"statsd.": "statsd>"} Key transformations

key_rules define a string replacement for key names to allow you to transform statsd keys to the more powerful Zag keys. The key: val pair simply get mapped to String.replace attributes.

Example Configuration

{
    "port": 8125,
    "backends": [ "statsd-zag-backend" ],
    "zag": {
        "daemons": [ "127.0.0.1:8876" ],
        "key_rules": {
            "statsd.": "statsd>",
            "http_requests.get.": "http_requests|get|",
            "vulcand.": "vulcand>"
        }
    }
}

License

Licensed 2015 under the MIT License (MIT)

Readme

Keywords

Package Sidebar

Install

npm i statsd-zag-backend

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • jongretar