From 5fdc7e2c13d3e480976426bd12d6288afd7b60bf Mon Sep 17 00:00:00 2001 From: Simonas Kazlauskas Date: Fri, 4 Sep 2020 18:19:08 +0300 Subject: [PATCH] Add tracing-tracy to related crates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This has become tested enough that I’m comfortable with suggesting it to people at least to try out. --- README.md | 4 ++++ tracing/README.md | 4 ++++ tracing/src/lib.rs | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/README.md b/README.md index 1309e22b16..a7837c589a 100644 --- a/README.md +++ b/README.md @@ -397,6 +397,8 @@ are not maintained by the `tokio` project. These include: environment variables with an `env_logger` compatible syntax. - [`tracing-unwrap`] provides convenience methods to report failed unwraps on `Result` or `Option` types to a `Subscriber`. - [`diesel-tracing`] provides integration with [`diesel`] database connections. +- [`tracing-tracy`] provides a way to collect [Tracy] profiles in instrumented + applications. (if you're the maintainer of a `tracing` ecosystem crate not in this list, please let us know!) @@ -422,6 +424,8 @@ please let us know!) [`tracing-unwrap`]: https://docs.rs/tracing-unwrap [`diesel`]: https://crates.io/crates/diesel [`diesel-tracing`]: https://crates.io/crates/diesel-tracing +[`tracing-tracy`]: https://crates.io/crates/tracing-tracy +[Tracy]: https://github.com/wolfpld/tracy **Note:** that some of the ecosystem crates are currently unreleased and undergoing active development. They may be less stable than `tracing` and diff --git a/tracing/README.md b/tracing/README.md index 1f490e3dd4..9fb4d55201 100644 --- a/tracing/README.md +++ b/tracing/README.md @@ -383,6 +383,8 @@ maintained by the `tokio` project. These include: environment variables with an `env_logger` compatible syntax. - [`tracing-unwrap`] provides convenience methods to report failed unwraps on `Result` or `Option` types to a `Subscriber`. - [`diesel-tracing`] provides integration with [`diesel`] database connections. +- [`tracing-tracy`] provides a way to collect [Tracy] profiles in instrumented + applications. If you're the maintainer of a `tracing` ecosystem crate not listed above, please let us know! We'd love to add your project to the list! @@ -401,6 +403,8 @@ please let us know! We'd love to add your project to the list! [`tracing-unwrap`]: https://docs.rs/tracing-unwrap [`diesel`]: https://crates.io/crates/diesel [`diesel-tracing`]: https://crates.io/crates/diesel-tracing +[`tracing-tracy`]: https://crates.io/crates/tracing-tracy +[Tracy]: https://github.com/wolfpld/tracy **Note:** that some of the ecosystem crates are currently unreleased and undergoing active development. They may be less stable than `tracing` and diff --git a/tracing/src/lib.rs b/tracing/src/lib.rs index ba3e5b5f40..22688d7893 100644 --- a/tracing/src/lib.rs +++ b/tracing/src/lib.rs @@ -729,6 +729,8 @@ //! - [`tracing-unwrap`] provides convenience methods to report failed unwraps //! on `Result` or `Option` types to a `Subscriber`. //! - [`diesel-tracing`] provides integration with [`diesel`] database connections. +//! - [`tracing-tracy`] provides a way to collect [Tracy] profiles in instrumented +//! applications. //! //! If you're the maintainer of a `tracing` ecosystem crate not listed above, //! please let us know! We'd love to add your project to the list! @@ -752,6 +754,8 @@ //! [`tracing-unwrap`]: https://docs.rs/tracing-unwrap //! [`diesel`]: https://crates.io/crates/diesel //! [`diesel-tracing`]: https://crates.io/crates/diesel-tracing +//! [`tracing-tracy`]: https://crates.io/crates/tracing-tracy +//! [Tracy]: https://github.com/wolfpld/tracy //! //!
//!
Note