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

ddtracer/tracer: tag keys must be unique across metrics and meta tags #800

Merged
merged 3 commits into from
Dec 29, 2020

Conversation

dianashevchenko
Copy link
Contributor

If tags were set with values of different types and the same key, both values were persisted, which is wrong

If tags were set with values of different types and the same key, both values were persisted, which
@knusbaum knusbaum added this to the 1.29.0 milestone Dec 24, 2020
Copy link
Contributor

@knusbaum knusbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly good.

If you upmerge to the latest v1 branch, that test-core failure will fix itself.

ddtrace/tracer/span_test.go Outdated Show resolved Hide resolved
ddtrace/tracer/span_test.go Outdated Show resolved Hide resolved
dianashevchenko and others added 2 commits December 29, 2020 12:07
Used assert.NotContains to make sure the value is not present in the map, not zero value
Copy link
Contributor

@knusbaum knusbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@knusbaum knusbaum merged commit c52eaed into v1 Dec 29, 2020
This was referenced Mar 11, 2021
This was referenced Mar 15, 2021
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

Successfully merging this pull request may close these issues.

2 participants