From 9b5763104688a1487b31e49f0f33eb24cd45dbd8 Mon Sep 17 00:00:00 2001 From: evazion Date: Mon, 12 Aug 2019 19:20:33 -0500 Subject: [PATCH] capistrano: fix newrelic deployment tagging. Override the appname in config/newrelic.yml so that we don't accidentally tag deployments under the wrong app. --- config/deploy/production.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 62ccddb58..ad2d50ccb 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -8,4 +8,5 @@ server "shima", :roles => %w(web app) server "saitou", :roles => %w(web app) server "oogaki", :roles => %w(worker) +set :newrelic_appname, "Danbooru" after "deploy:finished", "newrelic:notice_deployment"