+
    Q(i_                     f    R t ^ RIHt ^ RIHt ^ RIHtHtHtH	t	 ^ RI
Ht ]R	R R ll4       tR.tR# )
zClient-side telemetry helpers.)	Generator)contextmanager)SpanSpanKindStatus
StatusCode)
get_tracerNc                    V ^8  d   QhR\         R\         R\         R\         R,          R\         R,          R\        \        RR3,          /# )   namemethodcomponent_key
session_idNresource_urireturn)strr   r   )formats   "^/Users/agent/.openclaw/workspace/venv/lib/python3.14/site-packages/fastmcp/client/telemetry.py__annotate__r      sX        
     d
	 
 *  tT4      c           
   #    "   \        4       pVP                  V \        P                  R7      ;_uu_ 4       pRRRVRVRV/pV'       d   W7R&   V'       d   WGR&   VP	                  V4        Vx   R	R	R	4       R	#   \
         d@   pTP                  T4       TP                  \        \        P                  4      4       h R	p?ii ; i  + '       g   i     R	# ; i5i)
z{Create a CLIENT span with standard MCP attributes.

Automatically records any exception on the span and sets error status.
)kindz
rpc.systemmcpz
rpc.methodzmcp.method.namezfastmcp.component.keyzmcp.session.idzmcp.resource.uriN)r   start_as_current_spanr   CLIENTset_attributes	Exceptionrecord_exception
set_statusr   r   ERROR)	r   r   r   r   r   tracerspanattrses	   &&&&&    r   client_spanr$      s      \F		%	%d	%	A	AT %&v#]!
 &0"#(4$%E"	J! 
B	A"  	!!!$OOF:#3#345	# 
B	A	As@   4CCC+A:0
C:C:B??CCC		Cr$   )NN)__doc__collections.abcr   
contextlibr   opentelemetry.tracer   r   r   r   fastmcp.telemetryr   r$   __all__ r   r   <module>r,      s5    $ % % B B (    F /r   