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
[pdata] Update values returned by all String methods of enum types #6250
Conversation
2d9ad3c
to
d60e6ef
Compare
d60e6ef
to
3079b88
Compare
Codecov ReportBase: 91.86% // Head: 91.93% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #6250 +/- ##
==========================================
+ Coverage 91.86% 91.93% +0.06%
==========================================
Files 237 237
Lines 13620 13694 +74
==========================================
+ Hits 12512 12589 +77
+ Misses 879 876 -3
Partials 229 229
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
3079b88
to
aa32267
Compare
[SpanKind|StatusCode].String() will be changed to return different string values. This change replaces existing method calls with contrib internal functions to avoid breaking changes when open-telemetry/opentelemetry-collector#6250 is merged
[SpanKind|StatusCode].String() will be changed to return different string values. This change replaces existing method calls with contrib internal functions to avoid breaking changes when open-telemetry/opentelemetry-collector#6250 is merged
Update values returned by all String methods of enum types to a consistent short form representing the enum identifier
aa32267
to
e950650
Compare
[SpanKind|StatusCode].String() will be changed to return different string values. This change replaces existing method calls with contrib internal functions to avoid breaking changes when open-telemetry/opentelemetry-collector#6250 is merged
[SpanKind|StatusCode].String() will be changed to return different string values. This change replaces existing method calls with contrib internal functions to avoid breaking changes when open-telemetry/opentelemetry-collector#6250 is merged
@bogdandrutu this is ready for review |
[SpanKind|StatusCode].String() will be changed to return different string values. This change replaces existing method calls with contrib internal functions to avoid breaking changes when open-telemetry/opentelemetry-collector#6250 is merged
@bogdandrutu curious why this repo started creating merge commits recently? |
Update values returned by all String methods of enum types to a consistent short form representing the enum identifier.
The following methods don't rely on proto enum constant names anymore and return values consistent with other pdata enums:
plog.SeverityNumber.String() now returns:
ptrace.SpanKind.String() now returns:
ptrace.StatusCode.String() now returns:
This change represents the approach A described in #6251