Users can optionally pass an instance of TracerProvider to SomeInstrumentator.instrument(tracer_provider=...). Instrumentations should use this tracer_provider and fall back to global tracer provider if not given. As of now some instrumentations directly use global tracer provider which is not expected because providers can have different configuration such as Resource.
Users can optionally pass an instance of
TracerProvider
toSomeInstrumentator.instrument(tracer_provider=...)
. Instrumentations should use this tracer_provider and fall back to global tracer provider if not given. As of now some instrumentations directly use global tracer provider which is not expected because providers can have different configuration such asResource
.