Repository URL to install this package:
Version:
0.1.2 ▾
|
odigos
/
etc
/
odigos-vmagent
/
instrumentations
/
python
/
opentelemetry
/
instrumentation
/
__pycache__
/
distro.cpython-311.pyc
|
---|
§ ×ga ã ó d Z ddlmZmZ ddlmZ ddlmZ ddlm Z ee ¦ « Z G d de¦ « Z G d d e¦ « Z dd gZd S )z* OpenTelemetry Base Distribution (Distro) é )ÚABCÚabstractmethod)Ú getLogger)Ú EntryPoint)ÚBaseInstrumentorc óD e Zd ZdZdZd Zed ¦ « Zd Zde fdZ dS )Ú BaseDistrozAn ABC for distroNc óR | j t j | g|¢R i |¤| _ | j S ©N)Ú _instanceÚobjectÚ__new__)ÚclsÚargsÚkwargss úK/tmp/pip-target-6culloxw/lib/python/opentelemetry/instrumentation/distro.pyr zBaseDistro.__new__# s3 à=Ð Ý"N¨3Ð@°Ð@Ð@Ð@¸Ð@Ð@CMà}Ðó c ó dS )úConfigure the distributionN© ©Úselfr s r Ú _configurezBaseDistro._configure* s r c ó | j di |¤ dS )r Nr )r r s r Ú configurezBaseDistro.configure. s àÐ!Ð!&Ð!Ð!Ð!Ð!Ð!r Úentry_pointc óX | ¦ « } |¦ « j di |¤ dS )aÛ Takes an instrumentation entry point and activates it by instantiating and calling instrument() on it. This is called for each opentelemetry_instrumentor entry point by auto instrumentation. Distros can override this method to customize the behavior by inspecting each entry point and configuring them in special ways, passing additional arguments, load a replacement/fork instead, skip loading entirely, etc. Nr )ÚloadÚ instrument)r r r Úinstrumentors r Úload_instrumentorzBaseDistro.load_instrumentor2 s: ð *5×)9Ò)9Ñ);Ô);Ø!Ô!Ð+Ð+ FÐ+Ð+Ð+Ð+Ð+r )Ú__name__Ú __module__Ú__qualname__Ú__doc__r r r r r r r! r r r r r st ØÐàIðð ð ð ð)ð )ñ ^ð)ð"ð "ð "ð,Ø%ð,ð ,ð ,ð ,ð ,ð ,r r c ó e Zd Zd ZdS )Ú DefaultDistroc ó d S r r r s r r zDefaultDistro._configureD s Ør N)r" r# r$ r r r r r' r' C s# ð ð ð ð ð r r' N)r% Úabcr r Úloggingr Ú pkg_resourcesr Ú*opentelemetry.instrumentation.instrumentorr r" Ú_LOGr r' Ú__all__r r r ú<module>r/ sÓ ðð ð ð $Ð #Ð #Ð #Ð #Ð #Ð #Ð #Ø Ð Ð Ð Ð Ð à $Ð $Ð $Ð $Ð $Ð $à GÐ GÐ GÐ GÐ GÐ GàyÑÔð",ð ",ð ",ð ",ð ",ñ ",ô ",ð ",ðJ ð ð ð ð Jñ ô ð ð Ð )r