redcord icon indicating copy to clipboard operation
redcord copied to clipboard

Tags should be a hash instead of an array

Open lamroger opened this issue 2 years ago • 1 comments

If you're using Datadog, the trace options expect the tags option to be a hash. Ran into this when upgrading the ddtrace version from 0.x to 1.x.

TypeError:
       no implicit conversion of Array into Hash

https://github.com/chanzuckerberg/redcord/blob/add26ed5bf5d614b34e27699593dc9f70e2cfeba/lib/redcord/tracer.rb#L25

I'm not sure why this wasn't surfaced in ddtrace below version 1.

lamroger avatar Nov 28 '22 22:11 lamroger