Skip to content

Commit 42694f4

Browse files
authored
Datadog on staging (#16982)
* Include Datadog buildpack * Add heroku_app tag to statsd
1 parent e2a219e commit 42694f4

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

app.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"NPM_CONFIG_PRODUCTION": "true"
66
},
77
"buildpacks": [
8+
{ "url": "https://github.com/DataDog/heroku-buildpack-datadog.git#1.21" },
89
{ "url": "heroku/nodejs" }
910
],
1011
"formation": {

lib/statsd.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module.exports = new StatsD({
99
prefix: 'docs.',
1010
mock,
1111
globalTags: {
12-
app: 'docs'
12+
app: 'docs',
13+
heroku_app: process.env.HEROKU_APP_NAME
1314
}
1415
})

0 commit comments

Comments
 (0)