Skip to main content

install_otel_layer

Function install_otel_layer 

Source
pub fn install_otel_layer(layer: LogLayer) -> bool
Expand description

Fill the reload slot with the daemon’s OTLP log-export layer. Returns whether the layer was installed - false when init hasn’t run (a library consumer with its own subscriber) or the slot is gone.