pub fn init_telemetry(telemetry: Telemetry, deny_if_set: bool)
Expand description
Loads the telemetry options from configurations and sets the global options.
Once this is done, configurations can be correctly loaded using configured
log schema defaults.
§Errors
This function will fail if the builder
fails.
§Panics
If deny is set, will panic if telemetry has already been set.