-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[exporter/datadog] Replace HistogramMode defined as string with enum #9589
[exporter/datadog] Replace HistogramMode defined as string with enum #9589
Conversation
9881fc1
to
2781bce
Compare
2781bce
to
ffb9b2f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, just one comment about the changelog. For reference, this relates to #8373
7b00696
to
c049c65
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I left a comment for one last 'nice to have' thing I forgot on my earlier review
For a maintainer to double check before merging: this has a breaking change on the Go API, since we switch from a string to string type alias. It will not break users of the binary. I believe the breakage is okay since it's hard to do in two steps and disruption is minimal, but I want a maintainer to explicitly approve this since it goes against the guidelines. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is ok so long as you as the code owner for this component are ok with this change 👍
…pen-telemetry#9589) * replace Histogram defined as string with enum * update CHANGELOG * move to Breaking changes * remove HistogramMode handling from Unmarshal()
Description:
Replace HistogramConfig.Mode defined as string with translator.HistogramMode.
Link to tracking Issue: #8373
Testing:
Documentation: