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

[proccessor/spanmetrics] Don't rely on [SpanKind|StatusCode].String #16019

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Nov 1, 2022

Don't use [SpanKind|StatusCode].String() for getting attribute values as the method will likely be changed. Define the attribute values in place.

This PR is one of prerequisites for updating output of the [SpanKind|StatusCode].String() method without breaking functionality of its consumers open-telemetry/opentelemetry-collector#6250

Don't use [SpanKind|StatusCode].String() for getting attribute values as the method will likely be changed. Define the attribute values in place.
@dmitryax dmitryax requested a review from a team as a code owner November 1, 2022 21:41
@dmitryax dmitryax added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Nov 1, 2022
@dmitryax dmitryax marked this pull request as draft November 1, 2022 21:52
@dmitryax
Copy link
Member Author

dmitryax commented Nov 2, 2022

Replaced by #16021

@dmitryax dmitryax closed this Nov 2, 2022
@dmitryax dmitryax deleted the span-processor-dont-rely-span-string branch November 2, 2022 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants