davidbarsky / tracing-tree

Apache License 2.0
123 stars 31 forks source link

chore: Remove usage of deprecated tracing-subscriber APIs #34

Closed davidbarsky closed 3 years ago

davidbarsky commented 3 years ago

Motivation

This warnings around the usage of deprecated APIs came up in #32, so I opened this PR to resolve those issues. I kept one deprecated API (Context::scope().count()) in write_span_info because the alternative— SpanRef::scope().count() includes the current span (but not necessarily always?) and I was too tired to figure out the issue.