o
    i                     @   s   d dl Z d dlmZ z!e   e d d dlmZ W d   n1 s%w   Y  W n ey6   edw defddZ	dS )	    N)Anyignore)AioHttpServerInstrumentorz`logfire.instrument_aiohttp_server()` requires the `opentelemetry-instrumentation-aiohttp-server` package.
You can install this with:
    pip install 'logfire[aiohttp-server]'kwargsc                  K   s   t  jdi |  dS )zInstrument the `aiohttp` module so that spans are automatically created for each server request.

    See the `Logfire.instrument_aiohttp_server` method for details.
    N )r   
instrument)r   r   r   s/var/www/html/karishye-ai-python/venv/lib/python3.10/site-packages/logfire/_internal/integrations/aiohttp_server.pyinstrument_aiohttp_server   s   r	   )
warningstypingr   catch_warningssimplefilter,opentelemetry.instrumentation.aiohttp_serverr   ImportErrorRuntimeErrorr	   r   r   r   r   <module>   s    

