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
- Host: GitHub
- URL: https://github.com/apiaryio/heroku-datadog-drain
- Owner: apiaryio
- Archived: true
- Created: 2015-07-10T12:25:09.000Z (over 10 years ago)
- Default Branch: production
- Last Pushed: 2016-11-24T14:53:05.000Z (over 9 years ago)
- Last Synced: 2025-06-26T10:49:52.567Z (9 months ago)
- Topics: deprecated, sre
- Language: JavaScript
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 17
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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 :)
```