Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags should be a hash instead of an array #115

Open
lamroger opened this issue Nov 28, 2022 · 1 comment
Open

Tags should be a hash instead of an array #115

lamroger opened this issue Nov 28, 2022 · 1 comment

Comments

@lamroger
Copy link
Contributor

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

tags: T::Array[String],

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

@lamroger
Copy link
Contributor Author

It could be that statsd uses metrics as ["key:value", ...] and that's the confusion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant