Skip to content

Standard process to migrate from tracing? #158

Description

@tisonkun

Today I'm trying to migrating @j178's prek from tracing + tracing_subscriber to fastrace + log + logforth as described in https://fast.github.io/blog/fastrace-a-modern-approach-to-distributed-tracing-in-rust/

But I notice that we didn't provide a standard process to migrate away from:

#[instrument(level = "trace")]
pub(crate) fn read_config(path: &Path) -> Result<Config, Error> { .. }

... to a valid fastrace solution.

What should be the mapping here?

cc @andylokandy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions