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

SpanKind Display #968

Closed
tiagolobocastro opened this issue Feb 10, 2023 · 1 comment
Closed

SpanKind Display #968

tiagolobocastro opened this issue Feb 10, 2023 · 1 comment

Comments

@tiagolobocastro
Copy link

Hi, I'm updating opentelemetry and noticed the Display trait is no longer implement for SpanKind, is there a reason for this? Perhaps I shouldn't be using it?
I was using it as such: https://github.com/tokio-rs/tracing/blob/a0126b2e2d465e8e6d514acdf128fcef5b863d27/tracing-opentelemetry/src/lib.rs#L36
I suppose I can just use a string literal but seemed neater to use the "built-in" conversion..

Thanks

@tiagolobocastro
Copy link
Author

Ah I see now: #758..

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