8 releases (breaking)

0.27.0 Nov 12, 2024
0.26.0 Oct 1, 2024
0.25.0 Sep 9, 2024
0.5.0 Jul 15, 2024
0.1.0 Jul 29, 2023

#835 in Debugging

Download history 118370/week @ 2024-08-19 111229/week @ 2024-08-26 90785/week @ 2024-09-02 127008/week @ 2024-09-09 187211/week @ 2024-09-16 243898/week @ 2024-09-23 243387/week @ 2024-09-30 324002/week @ 2024-10-07 259180/week @ 2024-10-14 296223/week @ 2024-10-21 264894/week @ 2024-10-28 160815/week @ 2024-11-04 166980/week @ 2024-11-11 143063/week @ 2024-11-18 88864/week @ 2024-11-25 89548/week @ 2024-12-02

490,068 downloads per month
Used in 42 crates (34 directly)

Apache-2.0

1MB
20K SLoC

OpenTelemetry Stdout Exporter

OpenTelemetry — An observability framework for cloud-native software.

This crate contains an OpenTelemetry exporter that prints telemetry (logs, metrics and traces) to the standard output.

Crates.io: opentelemetry-stdout Documentation LICENSE GitHub Actions CI codecov Slack

Overview

OpenTelemetry is an Observability framework and toolkit designed to create and manage telemetry data such as traces, metrics, and logs. OpenTelemetry is vendor- and tool-agnostic, meaning that it can be used with a broad variety of Observability backends, including open source tools like Jaeger and Prometheus, as well as commercial offerings.

OpenTelemetry is not an observability backend like Jaeger, Prometheus, or other commercial vendors. OpenTelemetry is focused on the generation, collection, management, and export of telemetry. A major goal of OpenTelemetry is that you can easily instrument your applications or systems, no matter their language, infrastructure, or runtime environment. Crucially, the storage and visualization of telemetry is intentionally left to other tools.

Compiler support: requires rustc 1.70+

What does this crate contain?

This crate includes exporters that support all three signals - Logs, Metrics, and Traces — to standard output. It is intended solely for educational and debugging purposes. Please note, this crate is not optimized for performance, and the format of the output may change, making it unsuitable for production environments

Getting started

See docs.

Supported Rust Versions

OpenTelemetry is built against the latest stable release. The minimum supported version is 1.65. The current OpenTelemetry version is not guaranteed to build on Rust versions earlier than the minimum supported version.

The current stable Rust compiler and the three most recent minor versions before it will always be supported. For example, if the current stable compiler version is 1.49, the minimum supported version will not be increased past 1.46, three minor versions prior. Increasing the minimum supported compiler version is not considered a semver breaking change as long as doing so complies with this policy.

Dependencies

~2.4–4MB
~72K SLoC