Skip to content

Commit

Permalink
Merge pull request #31 from getaroom/split-dd-tags-by-commas-and-spaces
Browse files Browse the repository at this point in the history
Split DD_TAGS by spaces and commas
  • Loading branch information
yob authored Apr 7, 2021
2 parents d81d72f + 490e685 commit 5f048d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puma/plugin/statsd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def environment_variable_tags
# https://docs.datadoghq.com/agent/docker/?tab=standard#global-options
#
if ENV.has_key?("DD_TAGS")
ENV["DD_TAGS"].split(/\s+/).each do |t|
ENV["DD_TAGS"].split(/\s+|,/).each do |t|
tags << t
end
end
Expand Down

0 comments on commit 5f048d2

Please sign in to comment.