emit_otlp 1.18.0

Emit diagnostic events to an OpenTelemetry-compatible collector.
Documentation
1
2
3
4
5
6
7
use sval_derive::Value;

#[derive(Value)]
pub struct InstrumentationScope<'a, N: ?Sized = str> {
    #[sval(label = "name", index = 1)]
    pub name: &'a N,
}