
    BvhD                     
   U d dl mZ d dlmZ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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d0<   	 dedefd1Z%d2Z&eed3<   	 dedefd4Z'd5Z(eed6<   	 dedefd7Z)d8Z*eed9<   	 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/dAZ0eedB<   	 dedefdCZ1dDZ2eedE<   	 dedefdFZ3dGZ4eedH<   	 dedefdIZ5yJ)K    )Final)Counter	HistogramMeterUpDownCounterzotel.sdk.exporter.log.exportedOTEL_SDK_EXPORTER_LOG_EXPORTEDmeterreturnc                 2    | j                  t        d d      S )zXThe number of log records for which the export has finished, either successful or failed{log_record}namedescriptionunit)create_counterr   r	   s    `/RAG/venv/lib/python3.12/site-packages/opentelemetry/semconv/_incubating/metrics/otel_metrics.py%create_otel_sdk_exporter_log_exportedr      s#    +n        zotel.sdk.exporter.log.inflightOTEL_SDK_EXPORTER_LOG_INFLIGHTc                 2    | j                  t        d d      S )zThe number of log records which were passed to the exporter, but that have not been exported yet (neither successful, nor failed)r   r   )create_up_down_counterr   r   s    r   %create_otel_sdk_exporter_log_inflightr   1   s&    ''+ X (  r   z,otel.sdk.exporter.metric_data_point.exported,OTEL_SDK_EXPORTER_METRIC_DATA_POINT_EXPORTEDc                 2    | j                  t        d d      S )z_The number of metric data points for which the export has finished, either successful or failed{data_point}r   )r   r   r   s    r   3create_otel_sdk_exporter_metric_data_point_exportedr   G   s%     9u    r   z,otel.sdk.exporter.metric_data_point.inflight,OTEL_SDK_EXPORTER_METRIC_DATA_POINT_INFLIGHTc                 2    | j                  t        d d      S )zThe number of metric data points which were passed to the exporter, but that have not been exported yet (neither successful, nor failed)r   r   )r   r   r   s    r   3create_otel_sdk_exporter_metric_data_point_inflightr    ]   s(     ''9 _ (  r   z$otel.sdk.exporter.operation.duration$OTEL_SDK_EXPORTER_OPERATION_DURATIONc                 2    | j                  t        dd      S )z6The duration of exporting a batch of telemetry recordsz7The duration of exporting a batch of telemetry records.sr   )create_histogramr!   r   s    r   +create_otel_sdk_exporter_operation_durationr%   u   s#    !!1M "  r   zotel.sdk.exporter.span.exportedOTEL_SDK_EXPORTER_SPAN_EXPORTEDc                 2    | j                  t        d d      S )zRThe number of spans for which the export has finished, either successful or failed{span}r   )r   r&   r   s    r   &create_otel_sdk_exporter_span_exportedr)      s#    ,h    r   z%otel.sdk.exporter.span.exported.count%OTEL_SDK_EXPORTER_SPAN_EXPORTED_COUNTc                 2    | j                  t        dd      S )z9Deprecated, use `otel.sdk.exporter.span.exported` insteadz:Deprecated, use `otel.sdk.exporter.span.exported` instead.r(   r   )r   r*   r   s    r   ,create_otel_sdk_exporter_span_exported_countr,      %     ''2P (  r   zotel.sdk.exporter.span.inflightOTEL_SDK_EXPORTER_SPAN_INFLIGHTc                 2    | j                  t        d d      S )z{The number of spans which were passed to the exporter, but that have not been exported yet (neither successful, nor failed)r(   r   )r   r.   r   s    r   &create_otel_sdk_exporter_span_inflightr0      s&    '', R (  r   z%otel.sdk.exporter.span.inflight.count%OTEL_SDK_EXPORTER_SPAN_INFLIGHT_COUNTc                 2    | j                  t        dd      S )z9Deprecated, use `otel.sdk.exporter.span.inflight` insteadz:Deprecated, use `otel.sdk.exporter.span.inflight` instead.r(   r   )r   r1   r   s    r   ,create_otel_sdk_exporter_span_inflight_countr3      r-   r   zotel.sdk.log.createdOTEL_SDK_LOG_CREATEDc                 2    | j                  t        d d      S )z3The number of logs submitted to enabled SDK Loggersr   r   )r   r4   r   s    r   create_otel_sdk_log_createdr6      s#    !I    r   z*otel.sdk.metric_reader.collection.duration*OTEL_SDK_METRIC_READER_COLLECTION_DURATIONc                 2    | j                  t        dd      S )z:The duration of the collect operation of the metric readerz;The duration of the collect operation of the metric reader.r#   r   )r$   r7   r   s    r   1create_otel_sdk_metric_reader_collection_durationr9      s%     !!7Q "  r   z otel.sdk.processor.log.processed OTEL_SDK_PROCESSOR_LOG_PROCESSEDc                 2    | j                  t        d d      S )z\The number of log records for which the processing has finished, either successful or failedr   r   )r   r:   r   s    r   'create_otel_sdk_processor_log_processedr<      s#    -r    r   z%otel.sdk.processor.log.queue.capacity%OTEL_SDK_PROCESSOR_LOG_QUEUE_CAPACITYc                 2    | j                  t        d d      S )zgThe maximum number of log records the queue of a given instance of an SDK Log Record processor can holdr   r   )r   r=   r   s    r   ,create_otel_sdk_processor_log_queue_capacityr?     s%     ''2} (  r   z!otel.sdk.processor.log.queue.size!OTEL_SDK_PROCESSOR_LOG_QUEUE_SIZEc                 2    | j                  t        d d      S )zRThe number of log records in the queue of a given instance of an SDK log processorr   r   )r   r@   r   s    r   (create_otel_sdk_processor_log_queue_sizerB   %  s#    ''.h (  r   z!otel.sdk.processor.span.processed!OTEL_SDK_PROCESSOR_SPAN_PROCESSEDc                 2    | j                  t        d d      S )zVThe number of spans for which the processing has finished, either successful or failedr(   r   )r   rC   r   s    r   (create_otel_sdk_processor_span_processedrE   8  s#    .l    r   z'otel.sdk.processor.span.processed.count'OTEL_SDK_PROCESSOR_SPAN_PROCESSED_COUNTc                 2    | j                  t        dd      S )z;Deprecated, use `otel.sdk.processor.span.processed` insteadz<Deprecated, use `otel.sdk.processor.span.processed` instead.r(   r   )r   rF   r   s    r   .create_otel_sdk_processor_span_processed_countrH   I  s%     ''4R (  r   z&otel.sdk.processor.span.queue.capacity&OTEL_SDK_PROCESSOR_SPAN_QUEUE_CAPACITYc                 2    | j                  t        d d      S )z[The maximum number of spans the queue of a given instance of an SDK span processor can holdr(   r   )r   rI   r   s    r   -create_otel_sdk_processor_span_queue_capacityrK   _  s%     ''3q (  r   z"otel.sdk.processor.span.queue.size"OTEL_SDK_PROCESSOR_SPAN_QUEUE_SIZEc                 2    | j                  t        d d      S )zMThe number of spans in the queue of a given instance of an SDK span processorr(   r   )r   rL   r   s    r   )create_otel_sdk_processor_span_queue_sizerN   u  s#    ''/c (  r   zotel.sdk.span.endedOTEL_SDK_SPAN_ENDEDc                 2    | j                  t        dd      S zKUse `otel.sdk.span.started` minus `otel.sdk.span.live` to derive this valuezLUse `otel.sdk.span.started` minus `otel.sdk.span.live` to derive this value.r(   r   )r   rO   r   s    r   create_otel_sdk_span_endedrR     s#     b    r   zotel.sdk.span.ended.countOTEL_SDK_SPAN_ENDED_COUNTc                 2    | j                  t        dd      S rQ   )r   rS   r   s    r    create_otel_sdk_span_ended_countrU     s#    &b    r   zotel.sdk.span.liveOTEL_SDK_SPAN_LIVEc                 2    | j                  t        d d      S )zeThe number of created spans with `recording=true` for which the end operation has not been called yetr(   r   )r   rV   r   s    r   create_otel_sdk_span_liverX     s#    ''{ (  r   zotel.sdk.span.live.countOTEL_SDK_SPAN_LIVE_COUNTc                 2    | j                  t        dd      S )z,Deprecated, use `otel.sdk.span.live` insteadz-Deprecated, use `otel.sdk.span.live` instead.r(   r   )r   rY   r   s    r   create_otel_sdk_span_live_countr[     s#    ''%C (  r   zotel.sdk.span.startedOTEL_SDK_SPAN_STARTEDc                 2    | j                  t        d d      S )zThe number of created spansr(   r   )r   r\   r   s    r   create_otel_sdk_span_startedr^     s#    "1    r   N)6typingr   opentelemetry.metricsr   r   r   r   r   __annotations__r   r   r   r   r   r   r    r!   r%   r&   r)   r*   r,   r.   r0   r1   r3   r4   r6   r7   r9   r:   r<   r=   r?   r@   rB   rC   rE   rF   rH   rI   rK   rL   rN   rO   rR   rS   rU   rV   rX   rY   r[   r\   r^    r   r   <module>rc      s     J J(H  H 7  )I  H =  3 -e  3 -e  + %e u   *K  J% G  , &u 
 *K  J% M  , &u 
 5 e 4u   1 +E  +M  % L5 W  , &u  ,O !5 NE m  ,O !5 NE g  . ( 
 - '  ) #E U }  3 U 2
e   $? 5 >
E g  1 E 0U }  #= % <
5 ]   7 u 6 ' r   