Skip to content

Commit

Permalink
Merge branch 'master' into revert-14434-pek-revert-9b70c85121029398ba…
Browse files Browse the repository at this point in the history
…16ea26588d56cd34c3b66b
  • Loading branch information
va-bot authored Jun 8, 2020
2 parents 9b1c1a9 + 0a5eb9b commit c3eac3f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions app/models/end_product.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion app/services/data_dog_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions config/initializers/deploy_env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ def self.current_env
Rails.env.to_sym
end
end

def self.deploy_env
current_env
end
end

0 comments on commit c3eac3f

Please sign in to comment.