Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with tokio-tracing #14

Open
3 tasks
andylokandy opened this issue Jul 30, 2024 · 0 comments
Open
3 tasks

Compatibility with tokio-tracing #14

andylokandy opened this issue Jul 30, 2024 · 0 comments

Comments

@andylokandy
Copy link
Collaborator

andylokandy commented Jul 30, 2024

tracing is a widely used tracing library in the Rust community. Many fastrace users have requested compatibility with existing code and libraries that use tokio-tracing (#13). This issue aims to address these needs.

Compatibility Goals:

  1. Mixed Usage: Support applications using fastrace alongside libraries that use tokio-tracing.
  2. Seamless Migration: Enable applications using tokio-tracing to migrate to fastrace with minimal changes.
  3. Library Support: Allow library authors to support both fastrace and tokio-tracing without duplicating code.

Required Features:

  • Span and Log Collection: Allow fastrace to collect spans and logs from tokio-tracing.
  • API Compatibility Layer: Implement a compatibility layer in fastrace to mimic the API and macros of tokio-tracing.
  • Span Reporting: Enable fastrace to report spans to tokio-tracing.

cc @Xuanwo @tisonkun @zhongzc

@andylokandy andylokandy mentioned this issue Jul 30, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant