Ë
    bQêj�  ã                   óF  — U d dl mZ d dlmZmZmZ dZeed<   	 dedefd„ZdZ	eed	<   	 dedefd
„Z
dZeed<   	 dedefd„ZdZeed<   	 dedefd„ZdZeed<   	 dedefd„ZdZeed<   	 dedefd„ZdZeed<   	 dedefd„ZdZeed<   	 dedefd„ZdZeed<   	 dedefd„Zy )!é    )ÚFinal)ÚCounterÚ	HistogramÚMeterzfaas.coldstartsÚFAAS_COLDSTARTSÚmeterÚreturnc                 ó2   — | j                  t        dd¬«      S )z Number of invocation cold startsz!Number of invocation cold starts.z{coldstart}©ÚnameÚdescriptionÚunit)Úcreate_counterr   ©r   s    ú{/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/opentelemetry/semconv/_incubating/metrics/faas_metrics.pyÚcreate_faas_coldstartsr      s#   € à×ÑÜØ7Øð  ó ð ó    zfaas.cpu_usageÚFAAS_CPU_USAGEc                 ó2   — | j                  t        dd¬«      S )z(Distribution of CPU usage per invocationz)Distribution of CPU usage per invocation.Úsr   )Úcreate_histogramr   r   s    r   Úcreate_faas_cpu_usager   "   s#   € à×!Ñ!ÜØ?Øð "ó ð r   zfaas.errorsÚFAAS_ERRORSc                 ó2   — | j                  t        dd¬«      S )zNumber of invocation errorszNumber of invocation errors.z{error}r   )r   r   r   s    r   Úcreate_faas_errorsr   3   s#   € à×ÑÜØ2Øð  ó ð r   zfaas.init_durationÚFAAS_INIT_DURATIONc                 ó2   — | j                  t        dd¬«      S )zLMeasures the duration of the function's initialization, such as a cold startzMMeasures the duration of the function's initialization, such as a cold start.r   r   )r   r   r   s    r   Úcreate_faas_init_durationr   D   s#   € à×!Ñ!ÜØcØð "ó ð r   zfaas.invocationsÚFAAS_INVOCATIONSc                 ó2   — | j                  t        dd¬«      S )z Number of successful invocationsz!Number of successful invocations.z{invocation}r   )r   r   r   s    r   Úcreate_faas_invocationsr!   U   s#   € à×ÑÜØ7Øð  ó ð r   zfaas.invoke_durationÚFAAS_INVOKE_DURATIONc                 ó2   — | j                  t        dd¬«      S )z7Measures the duration of the function's logic executionz8Measures the duration of the function's logic execution.r   r   )r   r"   r   s    r   Úcreate_faas_invoke_durationr$   f   s#   € à×!Ñ!Ü!ØNØð "ó ð r   zfaas.mem_usageÚFAAS_MEM_USAGEc                 ó2   — | j                  t        dd¬«      S )z/Distribution of max memory usage per invocationz0Distribution of max memory usage per invocation.ÚByr   )r   r%   r   s    r   Úcreate_faas_mem_usager(   w   s#   € à×!Ñ!ÜØFØð "ó ð r   zfaas.net_ioÚFAAS_NET_IOc                 ó2   — | j                  t        dd¬«      S )z,Distribution of net I/O usage per invocationz-Distribution of net I/O usage per invocation.r'   r   )r   r)   r   s    r   Úcreate_faas_net_ior+   ˆ   s#   € à×!Ñ!ÜØCØð "ó ð r   zfaas.timeoutsÚFAAS_TIMEOUTSc                 ó2   — | j                  t        dd¬«      S )zNumber of invocation timeoutszNumber of invocation timeouts.z	{timeout}r   )r   r,   r   s    r   Úcreate_faas_timeoutsr.   ™   s#   € à×ÑÜØ4Øð  ó ð r   N)Útypingr   Úopentelemetry.metricsr   r   r   r   Ú__annotations__r   r   r   r   r   r   r   r   r!   r"   r$   r%   r(   r)   r+   r,   r.   © r   r   ú<module>r3      sU  ðö
 ç ;Ñ ;à*€�Ó *ðð %ð ¨Gó ð )€�Ó (ðð ð ¨9ó ð #€ˆUÓ "ðð˜eð ¨ó ð 1Ð �EÓ 0ðð Uð ¨yó ð -Ð �%Ó ,ðð 5ð ¨Wó ð 5Ð �eÓ 4ðð uð °ó ð )€�Ó (ðð ð ¨9ó ð #€ˆUÓ "ðð˜eð ¨	ó ð '€ˆuÓ &ðð ð ¨'ô r   