pub fn init_telemetry(telemetry: Telemetry, deny_if_set: bool)
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.
This function will fail if the builder fails.
builder
If deny is set, will panic if telemetry has already been set.