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

omnia-wasi-otel

WASI OpenTelemetry interface 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

#2650 in WebAssembly

36 downloads per month
Used in 2 crates

MIT/Apache

72KB
1.5K SLoC

WASI OpenTelemetry

Bindings for the OpenTelemetry specification (wasi:otel) for guest and host components.


Omnia WASI OpenTelemetry

This crate provides the OpenTelemetry interface for the Omnia runtime.

Interface

Implements the wasi:otel WIT interface.

Backend

Uses opentelemetry and tracing crates to export telemetry data.

Configuration

  • OTEL_GRPC_URL: The gRPC endpoint for the OpenTelemetry collector (default: http://localhost:4317).

Usage

Add this crate to your Cargo.toml and use it in your runtime configuration:

use omnia::runtime;
use omnia_wasi_otel::DefaultOtel;

omnia::runtime!({
    "otel": DefaultOtel,
});

License

MIT OR Apache-2.0

Dependencies

~7–28MB
~349K SLoC