o
    ɭRh                     @   sL   d dl mZmZ d dlmZ d dlmZ d
dedeee  ddfdd	ZdS )    )ListOptional)FastAPI)FastAPIInstrumentorNappexcluded_urlsreturnc                 C   s    t j| |r
d|ndd dS )z/Instrument FastAPI to emit OpenTelemetry spans.,N)r   )r   instrument_appjoin)r   r    r   j/home/air/sanwanet/backup_V2/venv/lib/python3.10/site-packages/chromadb/telemetry/opentelemetry/fastapi.pyinstrument_fastapi   s   
r   )N)	typingr   r   fastapir   %opentelemetry.instrumentation.fastapir   strr   r   r   r   r   <module>   s    $