From 42694f4355b586c6717c0b47dd11f658033d0d7b Mon Sep 17 00:00:00 2001 From: Jason Etcovitch Date: Tue, 15 Dec 2020 15:02:03 -0500 Subject: [PATCH] Datadog on staging (#16982) * Include Datadog buildpack * Add heroku_app tag to statsd --- app.json | 1 + lib/statsd.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app.json b/app.json index 576dcda241ec..2ee194071794 100644 --- a/app.json +++ b/app.json @@ -5,6 +5,7 @@ "NPM_CONFIG_PRODUCTION": "true" }, "buildpacks": [ + { "url": "https://github.com/DataDog/heroku-buildpack-datadog.git#1.21" }, { "url": "heroku/nodejs" } ], "formation": { diff --git a/lib/statsd.js b/lib/statsd.js index 22e61e1208e5..b2bbf68c0882 100644 --- a/lib/statsd.js +++ b/lib/statsd.js @@ -9,6 +9,7 @@ module.exports = new StatsD({ prefix: 'docs.', mock, globalTags: { - app: 'docs' + app: 'docs', + heroku_app: process.env.HEROKU_APP_NAME } })