#open-telemetry #observability #tracing #telemetry

otelx

A minimal and unified interface for using OpenTelemetry and OpenTelemetry SDK in Rust

1 unstable release

Uses new Rust 2024

new 0.0.1 Mar 20, 2025

#72 in #opentelemetry

Download history 106/week @ 2025-03-18

106 downloads per month

Custom license

12KB
54 lines

otelx

otelx is a crate designed to provide a unified and simplified interface for using OpenTelemetry and the OpenTelemetry SDK in Rust.

Features

  • Simple Initialization: A single function to configure OpenTelemetry with sensible defaults.
  • Basic Context Management: A minimal API to manage and propagate telemetry context.
  • Custom Exporter Interface: A trait that allows users to implement their own asynchronous exporters.

Getting Started

Add the following dependency to your Cargo.toml:

[dependencies]
otelx = "0.0.1"

For more details on the design and features, please refer to the specs.md file.

Dependencies

~2.1–3MB
~57K SLoC