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

opentelemetry-http

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

10 breaking releases

0.11.1 Mar 28, 2024
0.10.0 Nov 6, 2023
0.9.0 Jul 29, 2023
0.8.0 Mar 26, 2023
0.2.0 Mar 24, 2021

#54 in HTTP client

Download history 36120/week @ 2023-12-23 98721/week @ 2023-12-30 142232/week @ 2024-01-06 150639/week @ 2024-01-13 165025/week @ 2024-01-20 158957/week @ 2024-01-27 177732/week @ 2024-02-03 182468/week @ 2024-02-10 170272/week @ 2024-02-17 215194/week @ 2024-02-24 196923/week @ 2024-03-02 214423/week @ 2024-03-09 208002/week @ 2024-03-16 220666/week @ 2024-03-23 238698/week @ 2024-03-30 189124/week @ 2024-04-06

894,994 downloads per month
Used in 107 crates (30 directly)

Apache-2.0

275KB
4.5K SLoC

OpenTelemetry — An observability framework for cloud-native software.

OpenTelemetry HTTP

The Rust OpenTelemetry implementation.

LICENSE GitHub Actions CI Slack

Overview

OpenTelemetry is a collection of tools, APIs, and SDKs used to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) for analysis in order to understand your software's performance and behavior. This crate provides a HTTP client interface for use by trace exporters, as well as helper types to inject and extract key value pairs into/from HTTP headers.

Compiler support: requires rustc 1.64+

Supported Rust Versions

OpenTelemetry is built against the latest stable release. The minimum supported version is 1.64. 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.9–17MB
~212K SLoC