
    g                     \    d dl mZ 	 d dlmZ d dlmZ dedefdZy# e$ r	  ed      w xY w)	    )Any)AioHttpClientInstrumentorz`logfire.instrument_aiohttp_client()` requires the `opentelemetry-instrumentation-aiohttp-client` package.
You can install this with:
    pip install 'logfire[aiohttp]')Logfirelogfire_instancekwargsc                      t               j                  di | j                  j                         | j                  j	                         d| y)zInstrument the `aiohttp` module so that spans are automatically created for each client request.

    See the `Logfire.instrument_aiohttp_client` method for details.
    )tracer_providermeter_providerN )r   
instrumentconfigget_tracer_providerget_meter_provider)r   r   s     b/var/www/openai/venv/lib/python3.12/site-packages/logfire/_internal/integrations/aiohttp_client.pyinstrument_aiohttp_clientr      sP    
 +** /66JJL.55HHJ
 
    N)	typingr   ,opentelemetry.instrumentation.aiohttp_clientr   ImportErrorRuntimeErrorlogfirer   r   r   r   r   <module>r      sK    V  3   
	- s    +