
    2iH                         % S SK Jr  S SKJrJrJrJr  Sr\\S'    S\S\4S jr	Sr
\\S	'    S\S\4S
 jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrg)    )Final)Counter	HistogramMeterUpDownCounterzcicd.pipeline.run.activeCICD_PIPELINE_RUN_ACTIVEmeterreturnc                 ,    U R                  [        SSS9$ )zCThe number of pipeline runs currently active in the system by statezDThe number of pipeline runs currently active in the system by state.z{run}namedescriptionunit)create_up_down_counterr   r	   s    p/home/james-whalen/.local/lib/python3.13/site-packages/opentelemetry/semconv/_incubating/metrics/cicd_metrics.pycreate_cicd_pipeline_run_activer      s#    ''%Z (      zcicd.pipeline.run.durationCICD_PIPELINE_RUN_DURATIONc                 ,    U R                  [        SSS9$ )z@Duration of a pipeline run grouped by pipeline, state and resultzADuration of a pipeline run grouped by pipeline, state and result.sr   )create_histogramr   r   s    r   !create_cicd_pipeline_run_durationr   -   s#    !!'W "  r   zcicd.pipeline.run.errorsCICD_PIPELINE_RUN_ERRORSc                 ,    U R                  [        SSS9$ )zNThe number of errors encountered in pipeline runs (eg. compile, test failures)zOThe number of errors encountered in pipeline runs (eg. compile, test failures).{error}r   )create_counterr   r   s    r   create_cicd_pipeline_run_errorsr   @   s#    %e    r   zcicd.system.errorsCICD_SYSTEM_ERRORSc                 ,    U R                  [        SSS9$ )zYThe number of errors in a component of the CICD system (eg. controller, scheduler, agent)zZThe number of errors in a component of the CICD system (eg. controller, scheduler, agent).r   r   )r   r   r   s    r   create_cicd_system_errorsr!   R   s#    p    r   zcicd.worker.countCICD_WORKER_COUNTc                 ,    U R                  [        SSS9$ )z1The number of workers on the CICD system by statez2The number of workers on the CICD system by state.z{count}r   )r   r"   r   s    r   create_cicd_worker_countr$   c   s#    ''H (  r   N)typingr   opentelemetry.metricsr   r   r   r   r   __annotations__r   r   r   r   r   r   r!   r"   r$    r   r   <module>r)      s      J J"< % <5 ]  %A E @U y  #= % <5 W  1 E 0U w  / 5 .E m r   