oxtel 0.0.1

OpenTelemetry-compatible telemetry for Rust, native to `tracing` and `metrics` (under development)
Documentation
  • Coverage
  • 100%
    1 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 4.7 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 16.6 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1s Average build duration of successful builds.
  • all releases: 7s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • agentstatelabs

oxtel

OpenTelemetry-compatible telemetry for Rust, native to tracing and metrics.

Status: early development. Nothing here is ready to use yet. The design describes what is being built and in what order.

What it is for

Rust libraries and services already record spans, logs and metrics with tracing and metrics. oxtel turns that data into standard OpenTelemetry output, without a second instrumentation API and without a bridge:

  • Export: traces, metrics and logs over OTLP, plus Prometheus and OpenMetrics with exemplars.
  • Propagation: W3C Trace Context and Baggage.
  • Conventions: OpenTelemetry semantic conventions, generated from the official registry.
  • Configuration: the standard OTEL_* environment variables and the OpenTelemetry declarative configuration file.
  • Remote management: an OpAMP client.
  • Ready-made instrumentation: HTTP (tower, axum, hyper, reqwest), MCP, database clients, the tokio runtime and GenAI clients.

Principles

  • No new instrumentation API. Code instrumented with tracing and metrics works unchanged.
  • Standards on the wire. Output mixes freely with any OpenTelemetry SDK, Collector or backend.
  • Never harm the host program. Memory is bounded and nothing blocks the caller. When full, data is dropped and counted. No unsafe code.
  • Private by default. No message content or request bodies are recorded unless you opt in.
  • Lean by default. Network and TLS dependencies are optional features.
  • Proven, not promised. Every release ships benchmarks and conformance results.

oxtel is not affiliated with the OpenTelemetry project. It implements the OpenTelemetry specifications and protocols.

License

Apache License, Version 2.0. See LICENSE.

Contributing

See CONTRIBUTING.md. Contributions are accepted under the Developer Certificate of Origin.