Other packages, gem and the heroku buildpacks are using DD_TAGS with space separated format.
Checking TagSerializer and seems it only expects to have comma separated tags in DD_TAGS which prevents from correctly loading tags from environment variable.
|
def dd_tags(env = ENV) |
|
return {} unless dd_tags = env['DD_TAGS'] |
|
|
|
to_tags_hash(dd_tags.split(',')) |
|
end |
And this only runs in StatsD initialization, so it can be tricky to patch this section since needs to be patched before initialization