• Eliza Weisman's avatar
    Introduce `tokio-trace` (#827) · 03d6e802
    Eliza Weisman authored
    <!-- Thank you for your Pull Request. Please provide a description above
    and review the requirements below.
    
    Bug fixes and new features should include tests.
    
    Contributors guide:
    https://github.com/tokio-rs/tokio/blob/master/CONTRIBUTING.md -->
    
    ## Motivation
    
    In asynchronous systems like Tokio, interpreting traditional log
    messages can often be quite challenging. Since individual tasks are
    multiplexed on the same thread, associated events and log lines are
    intermixed making it difficult to trace the logic flow. Currently, none
    of the available logging frameworks or libraries in Rust offer the
    ability to trace logical paths through a futures-based program.
    
    There also are complementary goals that can be accomplished with such a
    system. For example, metrics / instrumentation can be tracked by
    observing emitted events, or trace data can be exported to a distributed
    tracing or event processing system.
    
    In addition, it can often be useful to generate this d...
    03d6e802
This project is licensed under the MIT License. Learn more