#wasi-run-time #wasmtime #component-model

omnia-otel

OpenTelemetry tracing and metrics integration for the Omnia runtime

3 releases (breaking)

Uses new Rust 2024

new 0.30.0 Mar 31, 2026
0.29.0 Mar 27, 2026
0.28.0 Feb 24, 2026

#2602 in WebAssembly

Download history 21/week @ 2026-02-19 9/week @ 2026-02-26 38/week @ 2026-03-05 74/week @ 2026-03-12 50/week @ 2026-03-19 116/week @ 2026-03-26

278 downloads per month
Used in 24 crates (2 directly)

MIT/Apache

19KB
326 lines

Telemetry

Telemetry is a module that provides functionality for collecting and reporting OpenTelemetry-based metrics.


Omnia OpenTelemetry

OpenTelemetry tracing and metrics integration for the Omnia runtime. This crate initializes tracing-subscriber, OTLP span exporters, and metric readers with retry logic so that host runtimes report telemetry out-of-the-box.

Note: This is a host-side library (not compiled for wasm32). It is called internally by omnia::create() during runtime startup. Most users do not need to depend on this crate directly.

Usage

use omnia_otel::Telemetry;

// Minimal -- uses RUST_LOG for filtering, no OTLP export
Telemetry::new("my-service").build()?;

// With OTLP export to a collector
Telemetry::new("my-service")
    .endpoint("http://localhost:4317")
    .build()?;

The OTEL_GRPC_URL environment variable is also respected if no explicit endpoint is set.

License

MIT OR Apache-2.0

Dependencies

~0–6.5MB
~103K SLoC