diff --git a/lib/puma/plugin/statsd.rb b/lib/puma/plugin/statsd.rb index a194de6..f06564d 100644 --- a/lib/puma/plugin/statsd.rb +++ b/lib/puma/plugin/statsd.rb @@ -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