Repository URL to install this package:
Version:
0.1.10 ▾
|
odigos
/
etc
/
odigos-vmagent
/
instrumentations
/
python
/
opamp
/
__pycache__
/
utils.cpython-311.pyc
|
---|
§ |QÄg ã óL d dl Z d dlZd Zdej defdZdej fdZdS )é Nc ó| d| vri S t j | d j ¦ « S # t j $ r i cY S w xY w)zH Extracts and parses the SDK configuration from the config map. ÚSDK)ÚjsonÚloadsÚbodyÚJSONDecodeError)Ú config_maps ú2/tmp/pip-target-ix0fus71/lib/python/opamp/utils.pyÚget_sdk_configr sX ð JÐÐØ ðÝz* UÔ+Ô0Ñ1Ô1Ð1øÝÔð ð ð Ø ðøøøs ' §;º;ÚloggerÚreturnc óN | dg ¦ « }|si S d |D ¦ « S )z@ Parses remote resource attributes from the SDK config. ÚremoteResourceAttributesc ó, i | ]}|d |d S )ÚkeyÚvalue© )Ú.0Úitems r ú <dictcomp>z>parse_first_message_to_resource_attributes.<locals>.<dictcomp> s" ÐNÐNÐN¨4DKgÐNÐNÐNó ©Úget)Ú sdk_configr Úremote_resource_attributess r Ú*parse_first_message_to_resource_attributesr s; ð ",§¢Ð0JÈBÑ!OÔ!OÐà%ð à àNÐNÐ3MÐNÑNÔNÐNr c óþ | di ¦ « dd¦ « | di ¦ « dd¦ « | di ¦ « dd¦ « dS )zX Parses the trace, logs, and metrics signals configuration from the SDK config. ÚtraceSignalÚenabledFÚ metricsSignalÚ logsSignal)r r r! r )r r s r Úparse_first_message_signalsr" sv ð "~~ m°RÑ8Ô8×<Ò<¸YÈÑNÔNØ#¨¸Ñ<Ô<×@Ò@ÀÈEÑRÔRØ nn \°2Ñ6Ô6×:Ò:¸9ÀeÑLÔLðð ð r )r Úloggingr ÚLoggerÚdictr r" r r r ú<module>r&