Skip to content
#

diagnostics

Here are 315 public repositories matching this topic...

jaskij
jaskij commented Mar 24, 2022

Feature Request

Crates

tracing_attributes

Motivation

Sometimes it's useful to be able to set the parent span when using this macro. One use case would be for structs which have their own span and want to instrument their methods.

Proposal

Add a new argument to tracing_attributes::instrument to allow explicitly setting the parent span, instead of inheriting from

kind/feature good first issue crate/attributes

Improve this page

Add a description, image, and links to the diagnostics topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the diagnostics topic, visit your repo's landing page and select "manage topics."

Learn more