risingwave_common::util::tracing::layer

Function set_toggle_otel_layer_fn

source
pub fn set_toggle_otel_layer_fn(f: impl Fn(bool) + Sync + Send + 'static)
Expand description

Set the function to toggle the opentelemetry tracing layer. Panics if called twice.