From d699b94ae579479bc7147a4166c04667c95648d7 Mon Sep 17 00:00:00 2001 From: hrxi Date: Tue, 22 Mar 2022 20:33:36 +0100 Subject: [PATCH] docs: Add `tracing-loki` to "Related Crates" section (#2012) --- README.md | 3 +++ tracing/README.md | 3 +++ tracing/src/lib.rs | 3 +++ 3 files changed, 9 insertions(+) diff --git a/README.md b/README.md index b90b900bb7..401081c144 100644 --- a/README.md +++ b/README.md @@ -403,6 +403,7 @@ are not maintained by the `tokio` project. These include: - [`sentry-tracing`] provides a layer for reporting events and traces to [Sentry]. - [`tracing-forest`] provides a subscriber that preserves contextual coherence by grouping together logs from the same spans during writing. +- [`tracing-loki`] provides a layer for shipping logs to [Grafana Loki]. (if you're the maintainer of a `tracing` ecosystem crate not in this list, please let us know!) @@ -438,6 +439,8 @@ please let us know!) [`sentry-tracing`]: https://crates.io/crates/sentry-tracing [Sentry]: https://sentry.io/welcome/ [`tracing-forest`]: https://crates.io/crates/tracing-forest +[`tracing-loki`]: https://crates.io/crates/tracing-loki +[Grafana Loki]: https://grafana.com/oss/loki/ **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 136dba8139..4b40c981b7 100644 --- a/tracing/README.md +++ b/tracing/README.md @@ -376,6 +376,7 @@ maintained by the `tokio` project. These include: - [`tracing-fluent-assertions`] provides a fluent assertions-style testing framework for validating the behavior of `tracing` spans. - [`sentry-tracing`] provides a layer for reporting events and traces to [Sentry]. +- [`tracing-loki`] provides a layer for shipping logs to [Grafana Loki]. 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! @@ -403,6 +404,8 @@ please let us know! We'd love to add your project to the list! [`tracing-fluent-assertions`]: https://crates.io/crates/tracing-fluent-assertions [`sentry-tracing`]: https://crates.io/crates/sentry-tracing [Sentry]: https://sentry.io/welcome/ +[`tracing-loki`]: https://crates.io/crates/tracing-loki +[Grafana Loki]: https://grafana.com/oss/loki/ **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 3fdbe63a07..2d7198896c 100644 --- a/tracing/src/lib.rs +++ b/tracing/src/lib.rs @@ -805,6 +805,7 @@ //! - [`sentry-tracing`] provides a layer for reporting events and traces to [Sentry]. //! - [`tracing-forest`] provides a subscriber that preserves contextual coherence by //! grouping together logs from the same spans during writing. +//! - [`tracing-loki`] provides a layer for shipping logs to [Grafana Loki]. //! //! 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! @@ -839,6 +840,8 @@ //! [`sentry-tracing`]: https://crates.io/crates/sentry-tracing //! [Sentry]: https://sentry.io/welcome/ //! [`tracing-forest`]: https://crates.io/crates/tracing-forest +//! [`tracing-loki`]: https://crates.io/crates/tracing-loki +//! [Grafana Loki]: https://grafana.com/oss/loki/ //! //!
//!