You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm thinking something like my_logfire = logfire.configure(..., global=False). With the default global=True then configure will return the default logfire instance. Otherwise it returns a new instance with a new config object, containing a tracer/meter provider that aren't set as the global providers in OTEL.
All the OTEL instrumentation libraries should accept a tracer/meter provider argument where appropriate instead of setting the global providers, so the methods created in #193 should pass providers from the logfire config.
The text was updated successfully, but these errors were encountered:
I'm thinking something like
my_logfire = logfire.configure(..., global=False)
. With the defaultglobal=True
thenconfigure
will return the default logfire instance. Otherwise it returns a new instance with a new config object, containing a tracer/meter provider that aren't set as the global providers in OTEL.All the OTEL instrumentation libraries should accept a tracer/meter provider argument where appropriate instead of setting the global providers, so the methods created in #193 should pass providers from the logfire config.
The text was updated successfully, but these errors were encountered: