Module global

Source
Expand description

Utilities for interacting with the currently set GlobalTelemetryProvider

Functionsยง

get_telemetry_provider
Get an Arc reference to the current global TelemetryProvider. Will return an Err if the RwLock holding the global TelemetryProvider is locked or poisoned.
set_telemetry_provider
Set the current global TelemetryProvider.