Skip to content

Space separated tags in DD_TAGS are not included in DogStatsD #325

Description

@hfsaito

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions