From 73ae737c07521a5a70cf740250bf02e48949801d Mon Sep 17 00:00:00 2001 From: Adrian Rollett Date: Wed, 17 Apr 2024 17:32:16 +0000 Subject: [PATCH] Add datadog version config --- config/initializers/datadog.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/initializers/datadog.rb b/config/initializers/datadog.rb index eff1a3f3e9a..ac872962273 100644 --- a/config/initializers/datadog.rb +++ b/config/initializers/datadog.rb @@ -9,6 +9,7 @@ # Namespace our app c.service = 'vets-api' c.env = Settings.vsp_environment unless ENV['DD_ENV'] + c.version = AppInfo::GIT_REVISION unless ENV['DD_VERSION'] # Enable instruments c.tracing.instrument :rails