diff --git a/app/models/end_product.rb b/app/models/end_product.rb index 29278774169..23ffdbf704f 100644 --- a/app/models/end_product.rb +++ b/app/models/end_product.rb @@ -81,6 +81,12 @@ class EndProduct "930AHCNRNQE" => "AMA HLR Correction of Non-Rating NQE", "930AHCRLQPMC" => "AMA PMC HLR Correction of Rating LQE", "930AHCRNQPMC" => "AMA PMC HLR Correction of Rating NQE", + "930AHDENLPMC" => "AMA PMC HLR DTA Error NR - Correction of LQE", + "930AHDENNPMC" => "AMA PMC HLR DTA Error NR - Correction of NQE", + "930AHDENRPMC" => "AMA PMC HLR DTA Error Non-Rating", + "930AHDERLPMC" => "AMA PMC HLR DTA Error Rating - Correction of LQE", + "930AHDERNPMC" => "AMA PMC HLR DTA Error Rating - Correction of NQE", + "930AHDERPMC" => "AMA PMC HLR DTA Error Rating", "930AHNRCPMC" => "AMA PMC HLR Non-Rating Control", "930AMABDENCL" => "AMA Board DTA Error NR - Correction of LQE", "930AMABDENCN" => "AMA Board DTA Error NR - Correction of NQE", diff --git a/app/services/data_dog_service.rb b/app/services/data_dog_service.rb index 6ac31f7b5db..76958bf9480 100644 --- a/app/services/data_dog_service.rb +++ b/app/services/data_dog_service.rb @@ -47,7 +47,7 @@ def self.histogram(metric_group:, metric_name:, metric_value:, app_name:, attrs: end [ "app:#{app_name}", - "env:#{Rails.env}" + "env:#{Rails.current_env}" ] + extra_tags end end diff --git a/config/initializers/deploy_env.rb b/config/initializers/deploy_env.rb index 30c926dbb74..6f79b01badb 100644 --- a/config/initializers/deploy_env.rb +++ b/config/initializers/deploy_env.rb @@ -18,4 +18,8 @@ def self.current_env Rails.env.to_sym end end + + def self.deploy_env + current_env + end end