Expand description
Distributed Tracing
OpenTelemetry-compatible distributed tracing for kernel execution.
§Features
- Span creation for kernel execution
- Trace context propagation in K2K messages
- OTLP export to Jaeger, Zipkin, etc.
§Example
ⓘ
use rustkernel_core::observability::tracing::{KernelSpan, TracingConfig};
let config = TracingConfig::otlp("http://jaeger:4317");
config.init().await?;
let span = KernelSpan::start("graph/pagerank", "execute");
// ... kernel execution ...
span.end();Structs§
- Kernel
Span - A kernel execution span
- Span
Context - Span context for trace propagation
- Span
Event - A span event
- Tracing
Config - Tracing configuration