Function aws_smithy_observability::global::set_telemetry_provider

source ยท
pub fn set_telemetry_provider(new_provider: TelemetryProvider)
Expand description

Set the current global TelemetryProvider.

This is meant to be run once at the beginning of an application. It will panic if two threads attempt to call it at the same time.