Search

Lib.rs

› Development tools › Debugging › OpenTelemetry
#logging-tracing #open-telemetry #otlp #tracing-metrics #metrics

opentelemetry-otlp

Exporter for the OpenTelemetry Collector

by Cijo Thomas, open-telemetry and 2 contributors

  • Install
  • API reference
  • GitHub repo (open-telemetry)
  • Documentation (github.io)
  • Home (opentelemetry.io)

24 breaking releases

new 0.32.0 May 8, 2026
0.31.1 Mar 19, 2026
0.31.0 Sep 25, 2025
0.30.0 May 23, 2025
0.3.0 Nov 10, 2020

#280 in Debugging

Download history 1407242/week @ 2026-01-18 1437789/week @ 2026-01-25 1477980/week @ 2026-02-01 1576486/week @ 2026-02-08 1533437/week @ 2026-02-15 1715372/week @ 2026-02-22 2127903/week @ 2026-03-01 2163717/week @ 2026-03-08 1861166/week @ 2026-03-15 1751991/week @ 2026-03-22 1673603/week @ 2026-03-29 1772675/week @ 2026-04-05 1939835/week @ 2026-04-12 1972549/week @ 2026-04-19 2145048/week @ 2026-04-26 2036921/week @ 2026-05-03

8,210,923 downloads per month
Used in 1,330 crates (659 directly)

Apache-2.0

2MB
38K SLoC

OpenTelemetry OTLP Exporter

OpenTelemetry — An observability framework for cloud-native software.

This crate contains the OpenTelemetry Exporter implementation for OTLP.

Crates.io: opentelemetry-otlp 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.

Supported Rust Versions

Getting started

See docs.

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.7–17MB
~190K SLoC

  • http-proto http 1.1+std
  • http-proto hyper-client? reqwest-blocking-client reqwest-client? reqwest-rustls? reqwest…webpki-roots? opentelemetry-http 0.32
  • http-proto prost 0.14
  • opentelemetry 0.32
  • reqwest-blocking-client reqwest 0.13.1
  • opentelemetry-proto 0.32
  • opentelemetry_sdk 0.32
  • thiserror 2.0
  • gzip-http? flate2
  • experimental-http-retry? httpdate
  • experimental-http-retry? integration-testing? tokio+sync+rt
  • serialize? serde+derive
  • http-json? serde_json
  • grpc-tonic? gzip-tonic? tls-aws-lc? tls-provider-agnostic? tls-ring? tls-roots? tls-webpki-roots? zstd-tonic? tonic 0.14.1
  • grpc-tonic? tonic-types 0.14.1
  • zstd-http? zstd
  • dev async-trait
  • dev futures-util
  • dev temp-env
  • dev tokio-stream+net

Other features

  • experimental-grpc-retry
  • internal-logs
  • logs
  • metrics
  • tls
  • trace
Related: opentelemetry-stdout, opentelemetry-semantic-conventions, opentelemetry, opentelemetry, opentelemetry_api, opentelemetry-appender-log, opentelemetry-appender-tracing, opentelemetry-dynatrace, opentelemetry-http, opentelemetry-jaeger, opentelemetry-prometheus, opentelemetry-proto, opentelemetry_sdk, opentelemetry-aws, opentelemetry-contrib, opentelemetry-datadog, opentelemetry-jaeger-propagator
See also: tracing, tracing-subscriber, tracing-opentelemetry, test-log, tracing-appender, tracing-core, emit, datadog-opentelemetry, emit_opentelemetry, owiwi, tracing-log

Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski. It contains data from multiple sources, including heuristics, and manually curated data. Content of this page is not necessarily endorsed by the authors of the crate. This site is not affiliated with nor endorsed by the Rust Project. If something is missing or incorrect, please file a bug.