redcord
redcord copied to clipboard
Tags should be a hash instead of an array
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.