Skip to content

Pass paramaters into a new span in #[trace] macro #5

Closed
@hawkw

Description

@hawkw

copied from hawkw/tokio-trace-prototype#53:

As @hawkw said on #16:

For future work: it would be really cool if we could pass all the params to the function as fields here as well.
Since some parameters may not be valid span fields, we might consider adding an additional attribute (#[trace_ignore]?) to annotate those fields that should be skipped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions