Function shim_main

Source
pub fn shim_main<I>(name: &str, version: Version, config: Option<Config>)
where I: 'static + Instance + Sync + Send,
Expand description

Main entry point for the shim.

If the opentelemetry feature is enabled, this function will start the shim with OpenTelemetry tracing.

It parses OTLP configuration from the environment and initializes the OpenTelemetry SDK.