To avoid the warning "Overriding of Global tracer provider is not allowed", we only add our tracer provider if the available implementation is Proxy(dummy) implementation
The avoid the warning "The instrumentor is already instrumented" we only call the instrument method if it is not already done by opentelemetry
To avoid the warning "Overriding of Global tracer provider is not allowed", we only add our tracer provider if the available implementation is Proxy(dummy) implementation
The avoid the warning "The instrumentor is already instrumented" we only call the instrument method if it is not already done by opentelemetry
Validated the changes locally