Ë
    dQêj  ã                  ó°   — d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d dl
mZ d dlmZ d dlmZ  ee«      Ze	rd d	lmZ  ed
¬«       G d„ d«      «       Zy)é    )Úannotations)ÚMapping)Ú	dataclass)Ú	getLogger)ÚTYPE_CHECKING)Ú_clean_attribute_value)ÚContext)Ú
Attributes)Ú_InstrumentT)Úfrozenc                  óP   — e Zd ZU dZded<   ded<   ded<   ded	<   d
Zded<   dd„Zy
)ÚMeasurementa	  
    Represents a data point reported via the metrics API to the SDK.

    Attributes:
        value: Measured value
        time_unix_nano: The time the API call was made to record the Measurement
        instrument: The instrument that produced this `Measurement`.
        context: The active Context of the Measurement at API call time.
        attributes: Measurement attributes. Mutating mutable attribute values (lists or dicts)
        outside of the Measurement object can lead to undefined and bad behavior.
    zint | floatÚvalueÚintÚtime_unix_nanor   Ú
instrumentr	   ÚcontextNr
   Ú
attributesc                ó*  — | j                   �‡t        | j                   t        «      r,t        j	                  | dt        | j                   d «      «       y t        j                  dt        | j                   «      «       t        j	                  | dd «       y y )Nr   z=Invalid type '%s' for attributes. Expected a Mapping or None.)	r   Ú
isinstancer   ÚobjectÚ__setattr__r   Ú_loggerÚwarningÚtype)Úselfs    út/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/opentelemetry/sdk/metrics/_internal/measurement.pyÚ__post_init__zMeasurement.__post_init__)   sr   € Ø�?‰?Ð&Ü˜$Ÿ/™/¬7Ô3Ü×"Ñ"ØØ Ü*¨4¯?©?¸DÓAõô —‘ØSÜ˜Ÿ™Ó)ôô ×"Ñ" 4¨°tÕ<ð 'ó    )ÚreturnÚNone)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__r   r   © r   r   r   r      s0   … ñ
ð ÓØÓØÓØÓØ!€J�
Ó!ô=r   r   N)Ú
__future__r   Úcollections.abcr   Údataclassesr   Úloggingr   Útypingr   Úopentelemetry.attributesr   Úopentelemetry.contextr	   Úopentelemetry.util.typesr
   r"   r   Ú.opentelemetry.sdk.metrics._internal.instrumentr   r   r'   r   r   ú<module>r1      sM   ðõ #å #Ý !Ý Ý  å ;Ý )Ý /á
�HÓ
€áÝJñ �$Ô÷ =ð  =ó ñ =r   