heroku-datadog-drain-golang icon indicating copy to clipboard operation
heroku-datadog-drain-golang copied to clipboard

Allow More Custom Tags

Open aterris opened this issue 7 years ago • 2 comments

Looking through the code I noticed that you have limited custom tags in b6868b1323258d07e501082d90620b98b80c121e

I ran into this as I was trying to add some custom tags to some of my custom metrics. I was wondering if you could shed any light on the context behind that change?

I was thinking about doing one of the following...

  1. Updating docs to reflect that
  2. Remove the constraint entirely
  3. Enable setting allowed custom tags via environment variable

Before I made a PR, I wanted to understand why you made that change in the first place.

aterris avatar Feb 15 '18 03:02 aterris

Yes they are limited because datadog does not handle very well if you have loads of them. This list should actually be configurable but apparently this has never happened. I this having the list defined by environment variable is a good approach so if you have a PR ready then please go ahead.

w-vi avatar Feb 15 '18 09:02 w-vi

Not quite ready but should be able to create one soon. Thanks!

aterris avatar Feb 15 '18 14:02 aterris