
    2ii                    R   % S SK JrJrJrJrJrJrJr  S SKJ	r	J
r
JrJrJrJr  \\\	/\\   4   \\\   \	S4   4   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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$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,S0r-\\S1'    S\S\4S2 jr.S3r/\\S4'    S\S\4S5 jr0S6r1\\S7'    S\S\4S8 jr2S9r3\\S:'    S\S\4S; jr4S<r5\\S='    S\S\4S> jr6S?r7\\S@'    S\S\4SA jr8SBr9\\SC'    S\S\4SD jr:SEr;\\SF'    S\S\4SG jr<SHr=\\SI'    S\SJ\\\      S\4SK jr>SLr?\\SM'    S\SJ\\\      S\4SN jr@SOrA\\SP'    S\SJ\\\      S\4SQ jrBSRrC\\SS'    S\S\4ST jrDSUrE\\SV'    S\S\4SW jrFSXrG\\SY'    S\S\4SZ jrHS[rI\\S\'    S\S\4S] jrJS^rK\\S_'    S\S\4S` jrLSarM\\Sb'    S\S\4Sc jrNSdrO\\Se'    S\S\4Sf jrPSgrQ\\Sh'    S\S\4Si jrRSjrS\\Sk'    S\S\4Sl jrTSmrU\\Sn'    S\S\4So jrVSprW\\Sq'    S\S\4Sr jrXSsrY\\St'    S\S\4Su jrZSvr[\\Sw'    S\S\
4Sx jr\Syr]\\Sz'    S\SJ\\\      S\4S{ jr^S|r_\\S}'    S\S\4S~ jr`Sra\\S'    S\S\4S jrbSrc\\S'    S\S\4S jrdSre\\S'    S\SJ\\\      S\4S jrfSrg\\S'    S\S\
4S jrhSri\\S'    S\S\
4S jrjSrk\\S'    S\SJ\\\      S\4S jrlSrm\\S'    S\S\
4S jrnSro\\S'    S\SJ\\\      S\4S jrpSrq\\S'    S\S\4S jrrSrs\\S'    S\S\4S jrtSru\\S'    S\S\4S jrvSrw\\S'    S\SJ\\\      S\4S jrxSry\\S'    S\S\
4S jrzSr{\\S'    S\S\
4S jr|Sr}\\S'    S\SJ\\\      S\4S jr~Sr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrSr\\S'    S\S\4S jrGS r\\GS'    S\S\4GS jrGSr\\GS'    S\S\4GS jrGSr\\GS'    S\S\4GS jrGS	r\\GS
'    S\S\4GS jrGSr\\GS'    S\S\4GS jrGSr\\GS'    S\S\4GS jrGSr\\GS'    S\S\4GS jrGSr\\GS'    S\S\4GS jrg(      )CallableFinal	GeneratorIterableOptionalSequenceUnion)CallbackOptionsCounterMeterObservableGaugeObservationUpDownCounterNzk8s.container.cpu.limitK8S_CONTAINER_CPU_LIMITmeterreturnc                 ,    U R                  [        SSS9$ )z0Maximum CPU resource limit set for the containerz1Maximum CPU resource limit set for the container.{cpu}namedescriptionunit)create_up_down_counterr   r   s    o/home/james-whalen/.local/lib/python3.13/site-packages/opentelemetry/semconv/_incubating/metrics/k8s_metrics.pycreate_k8s_container_cpu_limitr   2   s#    ''$G (      zk8s.container.cpu.requestK8S_CONTAINER_CPU_REQUESTc                 ,    U R                  [        SSS9$ )z(CPU resource requested for the containerz)CPU resource requested for the container.r   r   )r   r   r   s    r    create_k8s_container_cpu_requestr    D   s#    ''&? (  r   z%k8s.container.ephemeral_storage.limit%K8S_CONTAINER_EPHEMERAL_STORAGE_LIMITc                 ,    U R                  [        SSS9$ )z>Maximum ephemeral storage resource limit set for the containerz?Maximum ephemeral storage resource limit set for the container.Byr   )r   r!   r   s    r   ,create_k8s_container_ephemeral_storage_limitr$   X   s%     ''2U (  r   z'k8s.container.ephemeral_storage.request'K8S_CONTAINER_EPHEMERAL_STORAGE_REQUESTc                 ,    U R                  [        SSS9$ )z6Ephemeral storage resource requested for the containerz7Ephemeral storage resource requested for the container.r#   r   )r   r%   r   s    r   .create_k8s_container_ephemeral_storage_requestr'   n   s%     ''4M (  r   zk8s.container.memory.limitK8S_CONTAINER_MEMORY_LIMITc                 ,    U R                  [        SSS9$ )z3Maximum memory resource limit set for the containerz4Maximum memory resource limit set for the container.r#   r   )r   r(   r   s    r   !create_k8s_container_memory_limitr*      s#    '''J (  r   zk8s.container.memory.requestK8S_CONTAINER_MEMORY_REQUESTc                 ,    U R                  [        SSS9$ )z+Memory resource requested for the containerz,Memory resource requested for the container.r#   r   )r   r+   r   s    r   #create_k8s_container_memory_requestr-      s#    '')B (  r   zk8s.container.readyK8S_CONTAINER_READYc                 ,    U R                  [        SSS9$ )zIndicates whether the container is currently marked as ready to accept traffic, based on its readiness probe (1 = ready, 0 = not ready)zIndicates whether the container is currently marked as ready to accept traffic, based on its readiness probe (1 = ready, 0 = not ready).{container}r   )r   r.   r   s    r   create_k8s_container_readyr1      s&    ''  _ (  r   zk8s.container.restart.countK8S_CONTAINER_RESTART_COUNTc                 ,    U R                  [        SSS9$ )zSDescribes how many times the container has restarted (since the last counter reset)zTDescribes how many times the container has restarted (since the last counter reset).z	{restart}r   )r   r2   r   s    r   "create_k8s_container_restart_countr4      s#    ''(j (  r   zk8s.container.status.reasonK8S_CONTAINER_STATUS_REASONc                 ,    U R                  [        SSS9$ )zWDescribes the number of K8s containers that are currently in a state for a given reasonzXDescribes the number of K8s containers that are currently in a state for a given reason.r0   r   )r   r5   r   s    r   "create_k8s_container_status_reasonr7      s#    ''(n (  r   zk8s.container.status.stateK8S_CONTAINER_STATUS_STATEc                 ,    U R                  [        SSS9$ )zJDescribes the number of K8s containers that are currently in a given statezKDescribes the number of K8s containers that are currently in a given state.r0   r   )r   r8   r   s    r   !create_k8s_container_status_stater:      s#    '''a (  r   zk8s.container.storage.limitK8S_CONTAINER_STORAGE_LIMITc                 ,    U R                  [        SSS9$ )z4Maximum storage resource limit set for the containerz5Maximum storage resource limit set for the container.r#   r   )r   r;   r   s    r   "create_k8s_container_storage_limitr=      s#    ''(K (  r   zk8s.container.storage.requestK8S_CONTAINER_STORAGE_REQUESTc                 ,    U R                  [        SSS9$ )z,Storage resource requested for the containerz-Storage resource requested for the container.r#   r   )r   r>   r   s    r   $create_k8s_container_storage_requestr@     s#    ''*C (  r   zk8s.cronjob.active_jobsK8S_CRONJOB_ACTIVE_JOBSc                 ,    U R                  [        SSS9$ )z1The number of actively running jobs for a cronjobz2The number of actively running jobs for a cronjob.z{job}r   )r   rA   r   s    r   create_k8s_cronjob_active_jobsrC     s#    ''$H (  r   z%k8s.daemonset.current_scheduled_nodes%K8S_DAEMONSET_CURRENT_SCHEDULED_NODESc                 ,    U R                  [        SSS9$ )z]Number of nodes that are running at least 1 daemon pod and are supposed to run the daemon podz^Number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod.{node}r   )r   rD   r   s    r   ,create_k8s_daemonset_current_scheduled_nodesrG   /  s%     ''2t (  r   z%k8s.daemonset.desired_scheduled_nodes%K8S_DAEMONSET_DESIRED_SCHEDULED_NODESc                 ,    U R                  [        SSS9$ )zhNumber of nodes that should be running the daemon pod (including nodes currently running the daemon pod)ziNumber of nodes that should be running the daemon pod (including nodes currently running the daemon pod).rF   r   )r   rH   r   s    r   ,create_k8s_daemonset_desired_scheduled_nodesrJ   F  s%     ''2 (  r   z k8s.daemonset.misscheduled_nodes K8S_DAEMONSET_MISSCHEDULED_NODESc                 ,    U R                  [        SSS9$ )z[Number of nodes that are running the daemon pod, but are not supposed to run the daemon podz\Number of nodes that are running the daemon pod, but are not supposed to run the daemon pod.rF   r   )r   rK   r   s    r   'create_k8s_daemonset_misscheduled_nodesrM   [  s#    ''-r (  r   zk8s.daemonset.ready_nodesK8S_DAEMONSET_READY_NODESc                 ,    U R                  [        SSS9$ )znNumber of nodes that should be running the daemon pod and have one or more of the daemon pod running and readyzoNumber of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.rF   r   )r   rN   r   s    r    create_k8s_daemonset_ready_nodesrP   n  s&    ''& F (  r   zk8s.deployment.available_podsK8S_DEPLOYMENT_AVAILABLE_PODSc                 ,    U R                  [        SSS9$ )zgTotal number of available replica pods (ready for at least minReadySeconds) targeted by this deploymentzhTotal number of available replica pods (ready for at least minReadySeconds) targeted by this deployment.{pod}r   )r   rQ   r   s    r   $create_k8s_deployment_available_podsrT     #    ''*~ (  r   zk8s.deployment.desired_podsK8S_DEPLOYMENT_DESIRED_PODSc                 ,    U R                  [        SSS9$ )z1Number of desired replica pods in this deploymentz2Number of desired replica pods in this deployment.rS   r   )r   rV   r   s    r   "create_k8s_deployment_desired_podsrX     #    ''(H (  r   zk8s.hpa.current_podsK8S_HPA_CURRENT_PODSc                 ,    U R                  [        SSS9$ )zhCurrent number of replica pods managed by this horizontal pod autoscaler, as last seen by the autoscalerziCurrent number of replica pods managed by this horizontal pod autoscaler, as last seen by the autoscaler.rS   r   )r   rZ   r   s    r   create_k8s_hpa_current_podsr\     s#    ''! (  r   zk8s.hpa.desired_podsK8S_HPA_DESIRED_PODSc                 ,    U R                  [        SSS9$ )znDesired number of replica pods managed by this horizontal pod autoscaler, as last calculated by the autoscalerzoDesired number of replica pods managed by this horizontal pod autoscaler, as last calculated by the autoscaler.rS   r   )r   r]   r   s    r   create_k8s_hpa_desired_podsr_     s&    ''! F (  r   zk8s.hpa.max_podsK8S_HPA_MAX_PODSc                 ,    U R                  [        SSS9$ )zSThe upper limit for the number of replica pods to which the autoscaler can scale upzTThe upper limit for the number of replica pods to which the autoscaler can scale up.rS   r   )r   r`   r   s    r   create_k8s_hpa_max_podsrb     s#    ''j (  r   z-k8s.hpa.metric.target.cpu.average_utilization-K8S_HPA_METRIC_TARGET_CPU_AVERAGE_UTILIZATION	callbacksc                 .    U R                  [        USSS9$ )zITarget average utilization, in percentage, for CPU resource in HPA configzJTarget average utilization, in percentage, for CPU resource in HPA config.1r   rd   r   r   )create_observable_gaugerc   r   rd   s     r   4create_k8s_hpa_metric_target_cpu_average_utilizationrj     s(     ((:`	 )  r   z'k8s.hpa.metric.target.cpu.average_value'K8S_HPA_METRIC_TARGET_CPU_AVERAGE_VALUEc                 .    U R                  [        USSS9$ )z3Target average value for CPU resource in HPA configz4Target average value for CPU resource in HPA config.r   rg   )rh   rk   ri   s     r   .create_k8s_hpa_metric_target_cpu_average_valuerm     s(     ((4J	 )  r   zk8s.hpa.metric.target.cpu.valueK8S_HPA_METRIC_TARGET_CPU_VALUEc                 .    U R                  [        USSS9$ )z+Target value for CPU resource in HPA configz,Target value for CPU resource in HPA config.r   rg   )rh   rn   ri   s     r   &create_k8s_hpa_metric_target_cpu_valuerp     s(     ((,B	 )  r   zk8s.hpa.min_podsK8S_HPA_MIN_PODSc                 ,    U R                  [        SSS9$ )zUThe lower limit for the number of replica pods to which the autoscaler can scale downzVThe lower limit for the number of replica pods to which the autoscaler can scale down.rS   r   )r   rq   r   s    r   create_k8s_hpa_min_podsrs   ,  s#    ''l (  r   zk8s.job.active_podsK8S_JOB_ACTIVE_PODSc                 ,    U R                  [        SSS9$ )z9The number of pending and actively running pods for a jobz:The number of pending and actively running pods for a job.rS   r   )r   rt   r   s    r   create_k8s_job_active_podsrv   ?  s#    '' P (  r   zk8s.job.desired_successful_podsK8S_JOB_DESIRED_SUCCESSFUL_PODSc                 ,    U R                  [        SSS9$ )zKThe desired number of successfully finished pods the job should be run withzLThe desired number of successfully finished pods the job should be run with.rS   r   )r   rw   r   s    r   &create_k8s_job_desired_successful_podsry   R  s#    '',b (  r   zk8s.job.failed_podsK8S_JOB_FAILED_PODSc                 ,    U R                  [        SSS9$ )z7The number of pods which reached phase Failed for a jobz8The number of pods which reached phase Failed for a job.rS   r   )r   rz   r   s    r   create_k8s_job_failed_podsr|   e  s#    '' N (  r   zk8s.job.max_parallel_podsK8S_JOB_MAX_PARALLEL_PODSc                 ,    U R                  [        SSS9$ )zCThe max desired number of pods the job should run at any given timezDThe max desired number of pods the job should run at any given time.rS   r   )r   r}   r   s    r    create_k8s_job_max_parallel_podsr   x  s#    ''&Z (  r   zk8s.job.successful_podsK8S_JOB_SUCCESSFUL_PODSc                 ,    U R                  [        SSS9$ )z:The number of pods which reached phase Succeeded for a jobz;The number of pods which reached phase Succeeded for a job.rS   r   )r   r   r   s    r   create_k8s_job_successful_podsr     s#    ''$Q (  r   zk8s.namespace.phaseK8S_NAMESPACE_PHASEc                 ,    U R                  [        SSS9$ )zFDescribes number of K8s namespaces that are currently in a given phasezGDescribes number of K8s namespaces that are currently in a given phase.z{namespace}r   )r   r   r   s    r   create_k8s_namespace_phaser     s#    '' ] (  r   zk8s.node.allocatable.cpuK8S_NODE_ALLOCATABLE_CPUc                 ,    U R                  [        SSS9$ )z%Amount of cpu allocatable on the nodez&Amount of cpu allocatable on the node.r   r   )r   r   r   s    r   create_k8s_node_allocatable_cpur     s#    ''%< (  r   z&k8s.node.allocatable.ephemeral_storage&K8S_NODE_ALLOCATABLE_EPHEMERAL_STORAGEc                 ,    U R                  [        SSS9$ )z3Amount of ephemeral-storage allocatable on the nodez4Amount of ephemeral-storage allocatable on the node.r#   r   )r   r   r   s    r   -create_k8s_node_allocatable_ephemeral_storager     s%     ''3J (  r   zk8s.node.allocatable.memoryK8S_NODE_ALLOCATABLE_MEMORYc                 ,    U R                  [        SSS9$ )z(Amount of memory allocatable on the nodez)Amount of memory allocatable on the node.r#   r   )r   r   r   s    r   "create_k8s_node_allocatable_memoryr     s#    ''(? (  r   zk8s.node.allocatable.podsK8S_NODE_ALLOCATABLE_PODSc                 ,    U R                  [        SSS9$ )z&Amount of pods allocatable on the nodez'Amount of pods allocatable on the node.rS   r   )r   r   r   s    r    create_k8s_node_allocatable_podsr     s#    ''&= (  r   zk8s.node.condition.statusK8S_NODE_CONDITION_STATUSc                 ,    U R                  [        SSS9$ )z,Describes the condition of a particular Nodez-Describes the condition of a particular Node.rF   r   )r   r   r   s    r    create_k8s_node_condition_statusr     s#    ''&C (  r   zk8s.node.cpu.timeK8S_NODE_CPU_TIMEc                 ,    U R                  [        SSS9$ zTotal CPU time consumedzTotal CPU time consumed.sr   )create_counterr   r   s    r   create_k8s_node_cpu_timer     s#    .    r   zk8s.node.cpu.usageK8S_NODE_CPU_USAGEc                 .    U R                  [        USSS9$ )zRNode's CPU usage, measured in cpus. Range from 0 to the number of allocatable CPUszSNode's CPU usage, measured in cpus. Range from 0 to the number of allocatable CPUs.r   rg   )rh   r   ri   s     r   create_k8s_node_cpu_usager     s(     ((i	 )  r   zk8s.node.filesystem.availableK8S_NODE_FILESYSTEM_AVAILABLEc                 ,    U R                  [        SSS9$ )zNode filesystem available bytesz Node filesystem available bytes.r#   r   )r   r   r   s    r   $create_k8s_node_filesystem_availabler   2  s#    ''*6 (  r   zk8s.node.filesystem.capacityK8S_NODE_FILESYSTEM_CAPACITYc                 ,    U R                  [        SSS9$ )zNode filesystem capacityzNode filesystem capacity.r#   r   )r   r   r   s    r   #create_k8s_node_filesystem_capacityr   G  s#    '')/ (  r   zk8s.node.filesystem.usageK8S_NODE_FILESYSTEM_USAGEc                 ,    U R                  [        SSS9$ )zNode filesystem usagezNode filesystem usage.r#   r   )r   r   r   s    r    create_k8s_node_filesystem_usager   ^  s#    ''&, (  r   zk8s.node.memory.usageK8S_NODE_MEMORY_USAGEc                 .    U R                  [        USSS9$ )zMemory usage of the NodezMemory usage of the Node.r#   rg   )rh   r   ri   s     r   create_k8s_node_memory_usager   p  s(     (("/	 )  r   zk8s.node.network.errorsK8S_NODE_NETWORK_ERRORSc                 ,    U R                  [        SSS9$ )zNode network errorszNode network errors.{error}r   )r   r   r   s    r   create_k8s_node_network_errorsr     s#    $*    r   zk8s.node.network.ioK8S_NODE_NETWORK_IOc                 ,    U R                  [        SSS9$ )zNetwork bytes for the NodezNetwork bytes for the Node.r#   r   )r   r   r   s    r   create_k8s_node_network_ior     s#     1    r   zk8s.node.uptimeK8S_NODE_UPTIMEc                 .    U R                  [        USSS9$ )z"The time the Node has been runningz#The time the Node has been running.r   rg   )rh   r   ri   s     r   create_k8s_node_uptimer     s(     ((9	 )  r   zk8s.pod.cpu.timeK8S_POD_CPU_TIMEc                 ,    U R                  [        SSS9$ r   )r   r   r   s    r   create_k8s_pod_cpu_timer     s#    .    r   zk8s.pod.cpu.usageK8S_POD_CPU_USAGEc                 .    U R                  [        USSS9$ )zQPod's CPU usage, measured in cpus. Range from 0 to the number of allocatable CPUszRPod's CPU usage, measured in cpus. Range from 0 to the number of allocatable CPUs.r   rg   )rh   r   ri   s     r   create_k8s_pod_cpu_usager     s(     ((h	 )  r   zk8s.pod.filesystem.availableK8S_POD_FILESYSTEM_AVAILABLEc                 ,    U R                  [        SSS9$ )zPod filesystem available byteszPod filesystem available bytes.r#   r   )r   r   r   s    r   #create_k8s_pod_filesystem_availabler     s#    '')5 (  r   zk8s.pod.filesystem.capacityK8S_POD_FILESYSTEM_CAPACITYc                 ,    U R                  [        SSS9$ )zPod filesystem capacityzPod filesystem capacity.r#   r   )r   r   r   s    r   "create_k8s_pod_filesystem_capacityr     s#    ''(. (  r   zk8s.pod.filesystem.usageK8S_POD_FILESYSTEM_USAGEc                 ,    U R                  [        SSS9$ )zPod filesystem usagezPod filesystem usage.r#   r   )r   r   r   s    r   create_k8s_pod_filesystem_usager     s#    ''%+ (  r   zk8s.pod.memory.usageK8S_POD_MEMORY_USAGEc                 .    U R                  [        USSS9$ )zMemory usage of the PodzMemory usage of the Pod.r#   rg   )rh   r   ri   s     r   create_k8s_pod_memory_usager   %  s(     ((!.	 )  r   zk8s.pod.network.errorsK8S_POD_NETWORK_ERRORSc                 ,    U R                  [        SSS9$ )zPod network errorszPod network errors.r   r   )r   r   r   s    r   create_k8s_pod_network_errorsr   9  s#    #)    r   zk8s.pod.network.ioK8S_POD_NETWORK_IOc                 ,    U R                  [        SSS9$ )zNetwork bytes for the PodzNetwork bytes for the Pod.r#   r   )r   r   r   s    r   create_k8s_pod_network_ior   J  s#    0    r   zk8s.pod.uptimeK8S_POD_UPTIMEc                 .    U R                  [        USSS9$ )z!The time the Pod has been runningz"The time the Pod has been running.r   rg   )rh   r   ri   s     r   create_k8s_pod_uptimer   ]  s(     ((8	 )  r   zk8s.pod.volume.availableK8S_POD_VOLUME_AVAILABLEc                 ,    U R                  [        SSS9$ )z"Pod volume storage space availablez#Pod volume storage space available.r#   r   )r   r   r   s    r   create_k8s_pod_volume_availabler   u  s#    ''%9 (  r   zk8s.pod.volume.capacityK8S_POD_VOLUME_CAPACITYc                 ,    U R                  [        SSS9$ )zPod volume total capacityzPod volume total capacity.r#   r   )r   r   r   s    r   create_k8s_pod_volume_capacityr     s#    ''$0 (  r   zk8s.pod.volume.inode.countK8S_POD_VOLUME_INODE_COUNTc                 ,    U R                  [        SSS9$ )z6The total inodes in the filesystem of the Pod's volumez7The total inodes in the filesystem of the Pod's volume.{inode}r   )r   r   r   s    r   !create_k8s_pod_volume_inode_countr     s#    '''M (  r   zk8s.pod.volume.inode.freeK8S_POD_VOLUME_INODE_FREEc                 ,    U R                  [        SSS9$ )z5The free inodes in the filesystem of the Pod's volumez6The free inodes in the filesystem of the Pod's volume.r   r   )r   r   r   s    r    create_k8s_pod_volume_inode_freer     #    ''&L (  r   zk8s.pod.volume.inode.usedK8S_POD_VOLUME_INODE_USEDc                 ,    U R                  [        SSS9$ )z5The inodes used by the filesystem of the Pod's volumez6The inodes used by the filesystem of the Pod's volume.r   r   )r   r   r   s    r    create_k8s_pod_volume_inode_usedr     r   r   zk8s.pod.volume.usageK8S_POD_VOLUME_USAGEc                 ,    U R                  [        SSS9$ )zPod volume usagezPod volume usage.r#   r   )r   r   r   s    r   create_k8s_pod_volume_usager     s#    ''!' (  r   zk8s.replicaset.available_podsK8S_REPLICASET_AVAILABLE_PODSc                 ,    U R                  [        SSS9$ )zgTotal number of available replica pods (ready for at least minReadySeconds) targeted by this replicasetzhTotal number of available replica pods (ready for at least minReadySeconds) targeted by this replicaset.rS   r   )r   r   r   s    r   $create_k8s_replicaset_available_podsr     rU   r   zk8s.replicaset.desired_podsK8S_REPLICASET_DESIRED_PODSc                 ,    U R                  [        SSS9$ )z1Number of desired replica pods in this replicasetz2Number of desired replica pods in this replicaset.rS   r   )r   r   r   s    r   "create_k8s_replicaset_desired_podsr     rY   r   z)k8s.replication_controller.available_pods)K8S_REPLICATION_CONTROLLER_AVAILABLE_PODSc                 ,    U R                  [        SSS9$ )zBDeprecated, use `k8s.replicationcontroller.available_pods` insteadzCDeprecated, use `k8s.replicationcontroller.available_pods` instead.rS   r   )r   r   r   s    r   0create_k8s_replication_controller_available_podsr     s%     ''6Y (  r   z'k8s.replication_controller.desired_pods'K8S_REPLICATION_CONTROLLER_DESIRED_PODSc                 ,    U R                  [        SSS9$ )z@Deprecated, use `k8s.replicationcontroller.desired_pods` insteadzADeprecated, use `k8s.replicationcontroller.desired_pods` instead.rS   r   )r   r   r   s    r   .create_k8s_replication_controller_desired_podsr   ,  s%     ''4W (  r   z(k8s.replicationcontroller.available_pods(K8S_REPLICATIONCONTROLLER_AVAILABLE_PODSc                 ,    U R                  [        SSS9$ )zsTotal number of available replica pods (ready for at least minReadySeconds) targeted by this replication controllerztTotal number of available replica pods (ready for at least minReadySeconds) targeted by this replication controller.rS   r   )r   r   r   s    r   /create_k8s_replicationcontroller_available_podsr   C  s(     ''5 K (  r   z&k8s.replicationcontroller.desired_pods&K8S_REPLICATIONCONTROLLER_DESIRED_PODSc                 ,    U R                  [        SSS9$ )z=Number of desired replica pods in this replication controllerz>Number of desired replica pods in this replication controller.rS   r   )r   r   r   s    r   -create_k8s_replicationcontroller_desired_podsr   Z  s%     ''3T (  r   z k8s.resourcequota.cpu.limit.hard K8S_RESOURCEQUOTA_CPU_LIMIT_HARDc                 ,    U R                  [        SSS9$ )zxThe CPU limits in a specific namespace.
The value represents the configured quota limit of the resource in the namespacezyThe CPU limits in a specific namespace. The value represents the configured quota limit of the resource in the namespace.r   r   )r   r   r   s    r   'create_k8s_resourcequota_cpu_limit_hardr   p  s(     ''- P (  r   z k8s.resourcequota.cpu.limit.used K8S_RESOURCEQUOTA_CPU_LIMIT_USEDc                 ,    U R                  [        SSS9$ )z~The CPU limits in a specific namespace.
The value represents the current observed total usage of the resource in the namespacezThe CPU limits in a specific namespace. The value represents the current observed total usage of the resource in the namespace.r   r   )r   r   r   s    r   'create_k8s_resourcequota_cpu_limit_usedr     s(     ''- V (  r   z"k8s.resourcequota.cpu.request.hard"K8S_RESOURCEQUOTA_CPU_REQUEST_HARDc                 ,    U R                  [        SSS9$ )zzThe CPU requests in a specific namespace.
The value represents the configured quota limit of the resource in the namespacez{The CPU requests in a specific namespace. The value represents the configured quota limit of the resource in the namespace.r   r   )r   r   r   s    r   )create_k8s_resourcequota_cpu_request_hardr     s(     ''/ R (  r   z"k8s.resourcequota.cpu.request.used"K8S_RESOURCEQUOTA_CPU_REQUEST_USEDc                 ,    U R                  [        SSS9$ )zThe CPU requests in a specific namespace.
The value represents the current observed total usage of the resource in the namespacezThe CPU requests in a specific namespace. The value represents the current observed total usage of the resource in the namespace.r   r   )r   r   r   s    r   )create_k8s_resourcequota_cpu_request_usedr     s(     ''/ X (  r   z.k8s.resourcequota.ephemeral_storage.limit.hard.K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_LIMIT_HARDc                 ,    U R                  [        SSS9$ )zThe sum of local ephemeral storage limits in the namespace.
The value represents the configured quota limit of the resource in the namespacezThe sum of local ephemeral storage limits in the namespace. The value represents the configured quota limit of the resource in the namespace.r#   r   )r   r  r   s    r   5create_k8s_resourcequota_ephemeral_storage_limit_hardr    s(    
 ''; d (  r   z.k8s.resourcequota.ephemeral_storage.limit.used.K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_LIMIT_USEDc                 ,    U R                  [        SSS9$ )zThe sum of local ephemeral storage limits in the namespace.
The value represents the current observed total usage of the resource in the namespacezThe sum of local ephemeral storage limits in the namespace. The value represents the current observed total usage of the resource in the namespace.r#   r   )r   r  r   s    r   5create_k8s_resourcequota_ephemeral_storage_limit_usedr    s(    
 ''; j (  r   z0k8s.resourcequota.ephemeral_storage.request.hard0K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_REQUEST_HARDc                 ,    U R                  [        SSS9$ )zThe sum of local ephemeral storage requests in the namespace.
The value represents the configured quota limit of the resource in the namespacezThe sum of local ephemeral storage requests in the namespace. The value represents the configured quota limit of the resource in the namespace.r#   r   )r   r  r   s    r   7create_k8s_resourcequota_ephemeral_storage_request_hardr	    s(    
 ''= f (  r   z0k8s.resourcequota.ephemeral_storage.request.used0K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_REQUEST_USEDc                 ,    U R                  [        SSS9$ )zThe sum of local ephemeral storage requests in the namespace.
The value represents the current observed total usage of the resource in the namespacezThe sum of local ephemeral storage requests in the namespace. The value represents the current observed total usage of the resource in the namespace.r#   r   )r   r
  r   s    r   7create_k8s_resourcequota_ephemeral_storage_request_usedr    s(    
 ''= l (  r   z-k8s.resourcequota.hugepage_count.request.hard-K8S_RESOURCEQUOTA_HUGEPAGE_COUNT_REQUEST_HARDc                 ,    U R                  [        SSS9$ )zThe huge page requests in a specific namespace.
The value represents the configured quota limit of the resource in the namespacezThe huge page requests in a specific namespace. The value represents the configured quota limit of the resource in the namespace.
{hugepage}r   )r   r  r   s    r   4create_k8s_resourcequota_hugepage_count_request_hardr  .  s(    
 '': X (  r   z-k8s.resourcequota.hugepage_count.request.used-K8S_RESOURCEQUOTA_HUGEPAGE_COUNT_REQUEST_USEDc                 ,    U R                  [        SSS9$ )zThe huge page requests in a specific namespace.
The value represents the current observed total usage of the resource in the namespacezThe huge page requests in a specific namespace. The value represents the current observed total usage of the resource in the namespace.r  r   )r   r  r   s    r   4create_k8s_resourcequota_hugepage_count_request_usedr  G  s(    
 '': ^ (  r   z#k8s.resourcequota.memory.limit.hard#K8S_RESOURCEQUOTA_MEMORY_LIMIT_HARDc                 ,    U R                  [        SSS9$ )z{The memory limits in a specific namespace.
The value represents the configured quota limit of the resource in the namespacez|The memory limits in a specific namespace. The value represents the configured quota limit of the resource in the namespace.r#   r   )r   r  r   s    r   *create_k8s_resourcequota_memory_limit_hardr  `  s(     ''0 S (  r   z#k8s.resourcequota.memory.limit.used#K8S_RESOURCEQUOTA_MEMORY_LIMIT_USEDc                 ,    U R                  [        SSS9$ )zThe memory limits in a specific namespace.
The value represents the current observed total usage of the resource in the namespacezThe memory limits in a specific namespace. The value represents the current observed total usage of the resource in the namespace.r#   r   )r   r  r   s    r   *create_k8s_resourcequota_memory_limit_usedr  w  s(     ''0 Y (  r   z%k8s.resourcequota.memory.request.hard%K8S_RESOURCEQUOTA_MEMORY_REQUEST_HARDc                 ,    U R                  [        SSS9$ )z}The memory requests in a specific namespace.
The value represents the configured quota limit of the resource in the namespacez~The memory requests in a specific namespace. The value represents the configured quota limit of the resource in the namespace.r#   r   )r   r  r   s    r   ,create_k8s_resourcequota_memory_request_hardr    s(    
 ''2 U (  r   z%k8s.resourcequota.memory.request.used%K8S_RESOURCEQUOTA_MEMORY_REQUEST_USEDc                 ,    U R                  [        SSS9$ )zThe memory requests in a specific namespace.
The value represents the current observed total usage of the resource in the namespacezThe memory requests in a specific namespace. The value represents the current observed total usage of the resource in the namespace.r#   r   )r   r  r   s    r   ,create_k8s_resourcequota_memory_request_usedr    s(    
 ''2 [ (  r   z#k8s.resourcequota.object_count.hard#K8S_RESOURCEQUOTA_OBJECT_COUNT_HARDc                 ,    U R                  [        SSS9$ )zThe object count limits in a specific namespace.
The value represents the configured quota limit of the resource in the namespacezThe object count limits in a specific namespace. The value represents the configured quota limit of the resource in the namespace.{object}r   )r   r   r   s    r   *create_k8s_resourcequota_object_count_hardr#    s(     ''0 Y (  r   z#k8s.resourcequota.object_count.used#K8S_RESOURCEQUOTA_OBJECT_COUNT_USEDc                 ,    U R                  [        SSS9$ )zThe object count limits in a specific namespace.
The value represents the current observed total usage of the resource in the namespacezThe object count limits in a specific namespace. The value represents the current observed total usage of the resource in the namespace.r"  r   )r   r$  r   s    r   *create_k8s_resourcequota_object_count_usedr&    s(     ''0 _ (  r   z2k8s.resourcequota.persistentvolumeclaim_count.hard2K8S_RESOURCEQUOTA_PERSISTENTVOLUMECLAIM_COUNT_HARDc                 ,    U R                  [        SSS9$ )zThe total number of PersistentVolumeClaims that can exist in the namespace.
The value represents the configured quota limit of the resource in the namespacezThe total number of PersistentVolumeClaims that can exist in the namespace. The value represents the configured quota limit of the resource in the namespace.{persistentvolumeclaim}r   )r   r'  r   s    r   9create_k8s_resourcequota_persistentvolumeclaim_count_hardr*    s(    
 ''? t& (  r   z2k8s.resourcequota.persistentvolumeclaim_count.used2K8S_RESOURCEQUOTA_PERSISTENTVOLUMECLAIM_COUNT_USEDc                 ,    U R                  [        SSS9$ )zThe total number of PersistentVolumeClaims that can exist in the namespace.
The value represents the current observed total usage of the resource in the namespacezThe total number of PersistentVolumeClaims that can exist in the namespace. The value represents the current observed total usage of the resource in the namespace.r)  r   )r   r+  r   s    r   9create_k8s_resourcequota_persistentvolumeclaim_count_usedr-    s(    
 ''? z& (  r   z&k8s.resourcequota.storage.request.hard&K8S_RESOURCEQUOTA_STORAGE_REQUEST_HARDc                 ,    U R                  [        SSS9$ )z~The storage requests in a specific namespace.
The value represents the configured quota limit of the resource in the namespacezThe storage requests in a specific namespace. The value represents the configured quota limit of the resource in the namespace.r#   r   )r   r.  r   s    r   -create_k8s_resourcequota_storage_request_hardr0  )  s(    
 ''3 V (  r   z&k8s.resourcequota.storage.request.used&K8S_RESOURCEQUOTA_STORAGE_REQUEST_USEDc                 ,    U R                  [        SSS9$ )zThe storage requests in a specific namespace.
The value represents the current observed total usage of the resource in the namespacezThe storage requests in a specific namespace. The value represents the current observed total usage of the resource in the namespace.r#   r   )r   r1  r   s    r   -create_k8s_resourcequota_storage_request_usedr3  E  s(    
 ''3 \ (  r   zk8s.statefulset.current_podsK8S_STATEFULSET_CURRENT_PODSc                 ,    U R                  [        SSS9$ )zzThe number of replica pods created by the statefulset controller from the statefulset version indicated by currentRevisionz{The number of replica pods created by the statefulset controller from the statefulset version indicated by currentRevision.rS   r   )r   r4  r   s    r   #create_k8s_statefulset_current_podsr6  [  s&    '') R (  r   zk8s.statefulset.desired_podsK8S_STATEFULSET_DESIRED_PODSc                 ,    U R                  [        SSS9$ )z2Number of desired replica pods in this statefulsetz3Number of desired replica pods in this statefulset.rS   r   )r   r7  r   s    r   #create_k8s_statefulset_desired_podsr9  n  s#    '')I (  r   zk8s.statefulset.ready_podsK8S_STATEFULSET_READY_PODSc                 ,    U R                  [        SSS9$ )zNThe number of replica pods created for this statefulset with a Ready ConditionzOThe number of replica pods created for this statefulset with a Ready Condition.rS   r   )r   r:  r   s    r   !create_k8s_statefulset_ready_podsr<    s#    '''e (  r   zk8s.statefulset.updated_podsK8S_STATEFULSET_UPDATED_PODSc                 ,    U R                  [        SSS9$ )zuNumber of replica pods created by the statefulset controller from the statefulset version indicated by updateRevisionzvNumber of replica pods created by the statefulset controller from the statefulset version indicated by updateRevision.rS   r   )r   r=  r   s    r   #create_k8s_statefulset_updated_podsr?    s&    '') M (  r   )typingr   r   r   r   r   r   r	   opentelemetry.metricsr
   r   r   r   r   r   	CallbackTr   __annotations__r   r   r    r!   r$   r%   r'   r(   r*   r+   r-   r.   r1   r2   r4   r5   r7   r8   r:   r;   r=   r>   r@   rA   rC   rD   rG   rH   rJ   rK   rM   rN   rP   rQ   rT   rV   rX   rZ   r\   r]   r_   r`   rb   rc   rj   rk   rm   rn   rp   rq   rs   rt   rv   rw   ry   rz   r|   r}   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r  r	  r
  r  r  r  r  r  r  r  r  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   r   <module>rE     s       o 556h{#_d:;=	
 ";  :% M  $? 5 >E m  , &u  . (  %A E @U }  'E e Du   3 U 2e   &C U B	e   &C U Be   %A E @U }  &C U Be   (G u F -  ";  :% M  , &u  , &u  +M  % L5 ]  $? 5 >E m  (G u F -  &C U Be   5 e 4u   5 e 4u   - % ,5 ]  4 .u 		%hy&9:		 . ( 		%hy&9:		 *K  J		%hy&9:		 - % ,5 ]  3 U 2e   *K  J% M  3 U 2e   $? 5 >E m  ";  :% M  3 U 2e   #= % <5 ]  - '  &C U Be   $? 5 >E m  $? 5 >E m  / 5 .E g  1 E 0		%hy&9:		 (G u F -  'E e Du   $? 5 >
E m   7 u 6		%hy&9:		 ";  :% G  3 U 2e   + *		%hy&9:		 - % ,5 W  / 5 .		%hy&9:		 'E e Du   &C U Be   #= % <
5 ]  5 e 4		%hy&9:		 !9  8 7  1 E 0U w  ) (		%hy&9:		 #= % <5 ]  ";  :% M  %A E @U }  $? 5 >E m  $? 5 >
E m  5 e 4
u   (G u F -  &C U Be   0 *5 
 . ( 
 / )%  - '  +M  % L5 ]  +M  % L5 ]  ) #E U }  ) #E U }  5 / 			 5 / 			 7 1% 			 7 1% 			 4 .u 			 4 .u 			 * $U e   * $U e   , &u 			 , &u 			 * $U e   * $U e   9 3E 
			 9 3E 
			 - ' 
			 - ' 
			 'E e Du   'E e Du   %A E @U }  'E e Du  r   