#http-request #open-telemetry #tracing #context #propagation

opentelemetry-http

Helper implementations for sending HTTP requests. Uses include propagating and extracting context over http, exporting telemetry, requesting sampling strategies.

16 breaking releases

new 0.28.0 Feb 10, 2025
0.27.0 Nov 12, 2024
0.26.0 Oct 1, 2024
0.13.0 Jul 15, 2024
0.2.0 Mar 24, 2021

#442 in Network programming

Download history 639886/week @ 2024-10-25 428510/week @ 2024-11-01 402912/week @ 2024-11-08 405332/week @ 2024-11-15 312530/week @ 2024-11-22 299289/week @ 2024-11-29 429326/week @ 2024-12-06 432856/week @ 2024-12-13 137022/week @ 2024-12-20 141971/week @ 2024-12-27 390981/week @ 2025-01-03 529786/week @ 2025-01-10 423867/week @ 2025-01-17 492310/week @ 2025-01-24 538412/week @ 2025-01-31 594041/week @ 2025-02-07

2,148,827 downloads per month
Used in 234 crates (45 directly)

Apache-2.0

280KB
4K SLoC

OpenTelemetry HTTP

OpenTelemetry — An observability framework for cloud-native software.

This crate contains helper implementations for sending HTTP requests. Uses include propagating and extracting context over http, exporting telemetry, requesting sampling strategies.

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

OpenTelemetry 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.

Supported Rust Versions

Release Notes

You can find the release notes (changelog) here.

Supported Rust Versions

OpenTelemetry is built against the latest stable release. The minimum supported version is 1.75.0. 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

~0.8–12MB
~138K SLoC