An open API service indexing awesome lists of open source software.

https://github.com/apiaryio/heroku-datadog-drain

Funnel metrics from multiple Heroku apps into DataDog using statsd
https://github.com/apiaryio/heroku-datadog-drain

deprecated sre

Last synced: 2 months ago
JSON representation

Funnel metrics from multiple Heroku apps into DataDog using statsd

Awesome Lists containing this project

README

          

# Heroku Datadog Drain

Funnel metrics from multiple Heroku apps into DataDog using statsd.

Supported Heroku metrics:
- Heroku Router response times, status codes, etc.
- Application errors
- Heroku Postgres metrics
- Heroku Dyno [runtime metrics](https://devcenter.heroku.com/articles/log-runtime-metrics)

## Get Started
```bash
git clone git@github.com:ozinc/heroku-datadog-drain.git
cd heroku-datadog-drain
heroku create
heroku config:set ALLOWED_APPS= _PASSWORD=
git push heroku master
heroku ps:scale web=1
heroku drains:add https://:@.herokuapp.com/ --app
```

## Configuration
```bash
ALLOWED_APPS=my-app,.. # Required. Comma seperated list of app names
_PASSWORD=.. # Required. One per allowed app where corresponds to an app name from ALLOWED_APPS
_TAGS=mytag,.. # Optional. Comma seperated list of default tags for each app
_PREFIX=yee # Optional. String to be prepended to all metrics from a given app
STATSD_URL=.. # Optional. Default: statsd://localhost:8125
DEBUG= # Optional. If DEBUG is set, a lot of stuff will be logged :)
```