
    g                     l    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d       G d d	             Z
y
)    )	dataclass)Union)Context)
Instrument)
AttributesT)frozenc                   R    e Zd ZU dZeeef   ed<   eed<   eed<   e	ed<   dZ
eed<   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
    valuetime_unix_nano
instrumentcontextN
attributes)__name__
__module____qualname____doc__r   intfloat__annotations__r   r   r   r        d/var/www/openai/venv/lib/python3.12/site-packages/opentelemetry/sdk/metrics/_internal/measurement.pyr
   r
      s4    	  e!J
!r   r
   N)dataclassesr   typingr   opentelemetry.contextr   opentelemetry.metricsr   opentelemetry.util.typesr   r
   r   r   r   <module>r      s4    "  ) , / $" " "r   