Expand description
§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
§WASI OpenTelemetry
Bindings for the OpenTelemetry specification (wasi:otel) for guest and host components.
Macros§
- omnia_
wasi_ view - Implementation of the
WasiOtelViewtrait for the store context.
Structs§
- Otel
Default - Default implementation for
wasi:otel. - Wasi
Otel - Host-side service for
wasi:otel. - Wasi
Otel CtxView - View into
WasiOtelCtximplementation andResourceTable.
Traits§
- Wasi
Otel Ctx - A trait which provides internal WASI OpenTelemetry context.
- Wasi
Otel View - A trait which provides internal WASI OpenTelemetry state.