
    Bvh                     
   U d dl mZmZmZmZmZmZmZ d dlm	Z	m
Z
mZmZmZmZ eee	gee   f   eee   e	df   f   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,d0Z-eed1<   	 dedefd2Z.d3Z/eed4<   	 dedefd5Z0d6Z1eed7<   	 dedefd8Z2d9Z3eed:<   	 dedefd;Z4d<Z5eed=<   	 dedefd>Z6d?Z7eed@<   	 dedefdAZ8dBZ9eedC<   	 dedefdDZ:dEZ;eedF<   	 dedefdGZ<dHZ=eedI<   	 dedJeee      defdKZ>dLZ?eedM<   	 dedJeee      defdNZ@dOZAeedP<   	 dedJeee      defdQZBdRZCeedS<   	 dedefdTZDdUZEeedV<   	 dedefdWZFdXZGeedY<   	 dedefdZZHd[ZIeed\<   	 dedefd]ZJd^ZKeed_<   	 dedefd`ZLdaZMeedb<   	 dedefdcZNddZOeede<   	 dedefdfZPdgZQeedh<   	 dedefdiZRdjZSeedk<   	 dedefdlZTdmZUeedn<   	 dedefdoZVdpZWeedq<   	 dedefdrZXdsZYeedt<   	 dedefduZZdvZ[eedw<   	 dede
fdxZ\dyZ]eedz<   	 dedJeee      defd{Z^d|Z_eed}<   	 dedJeee      defd~Z`dZaeed<   	 dede
fdZbdZceed<   	 dede
fdZddZeeed<   	 dedJeee      defdZfdZgeed<   	 dede
fdZhdZieed<   	 dedJeee      defdZjdZkeed<   	 dedJeee      defdZldZmeed<   	 dede
fdZndZoeed<   	 dede
fdZpdZqeed<   	 dedJeee      defdZrdZseed<   	 dedefdZtdZueed<   	 dedefdZvdZweed<   	 dedefdZxdZyeed<   	 dedefdZzdZ{eed<   	 dedefdZ|dZ}eed<   	 dedefdZ~dZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdÄZdZeed<   	 dedefdƄZdZeed<   	 dedefdɄZdZeed<   	 dedefd̄ZdZeed<   	 dedefdτZdZeed<   	 dedefd҄ZdZeed<   	 dedefdՄZdZeed<   	 dedefd؄ZdZeed<   	 dedefdۄZdZeed<   	 dedefdބZdZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZy)    )CallableFinal	GeneratorIterableOptionalSequenceUnion)CallbackOptionsCounterMeterObservableGaugeObservationUpDownCounterNzk8s.container.cpu.limitK8S_CONTAINER_CPU_LIMITmeterreturnc                 2    | j                  t        d d      S )z0Maximum CPU resource limit set for the container{cpu}namedescriptionunit)create_up_down_counterr   r   s    _/RAG/venv/lib/python3.12/site-packages/opentelemetry/semconv/_incubating/metrics/k8s_metrics.pycreate_k8s_container_cpu_limitr   2   s#    ''$F (      zk8s.container.cpu.requestK8S_CONTAINER_CPU_REQUESTc                 2    | j                  t        d d      S )z(CPU resource requested for the containerr   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                 2    | j                  t        d d      S )z>Maximum ephemeral storage resource limit set for the containerByr   )r   r!   r   s    r   ,create_k8s_container_ephemeral_storage_limitr$   X   s%     ''2T (  r   z'k8s.container.ephemeral_storage.request'K8S_CONTAINER_EPHEMERAL_STORAGE_REQUESTc                 2    | j                  t        d d      S )z6Ephemeral storage resource requested for the containerr#   r   )r   r%   r   s    r   .create_k8s_container_ephemeral_storage_requestr'   n   s%     ''4L (  r   zk8s.container.memory.limitK8S_CONTAINER_MEMORY_LIMITc                 2    | j                  t        d d      S )z3Maximum memory resource limit set for the containerr#   r   )r   r(   r   s    r   !create_k8s_container_memory_limitr*      s#    '''I (  r   zk8s.container.memory.requestK8S_CONTAINER_MEMORY_REQUESTc                 2    | j                  t        d d      S )z+Memory resource requested for the containerr#   r   )r   r+   r   s    r   #create_k8s_container_memory_requestr-      s#    '')A (  r   zk8s.container.readyK8S_CONTAINER_READYc                 2    | j                  t        d d      S )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                 2    | j                  t        d d      S )zSDescribes 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#    ''(i (  r   zk8s.container.status.reasonK8S_CONTAINER_STATUS_REASONc                 2    | j                  t        d d      S )zWDescribes the number of K8s containers that are currently in a state for a given reasonr0   r   )r   r5   r   s    r   "create_k8s_container_status_reasonr7      s#    ''(m (  r   zk8s.container.status.stateK8S_CONTAINER_STATUS_STATEc                 2    | j                  t        d d      S )zJDescribes the number of K8s containers that are currently in a given stater0   r   )r   r8   r   s    r   !create_k8s_container_status_stater:      s#    '''` (  r   zk8s.container.storage.limitK8S_CONTAINER_STORAGE_LIMITc                 2    | j                  t        d d      S )z4Maximum storage resource limit set for the containerr#   r   )r   r;   r   s    r   "create_k8s_container_storage_limitr=      s#    ''(J (  r   zk8s.container.storage.requestK8S_CONTAINER_STORAGE_REQUESTc                 2    | j                  t        d d      S )z,Storage resource requested for the containerr#   r   )r   r>   r   s    r   $create_k8s_container_storage_requestr@     s#    ''*B (  r   zk8s.cronjob.active_jobsK8S_CRONJOB_ACTIVE_JOBSc                 2    | j                  t        d d      S )z1The number of actively running jobs for a cronjobz{job}r   )r   rA   r   s    r   create_k8s_cronjob_active_jobsrC     s#    ''$G (  r   z%k8s.daemonset.current_scheduled_nodes%K8S_DAEMONSET_CURRENT_SCHEDULED_NODESc                 2    | j                  t        d d      S )z]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s (  r   z%k8s.daemonset.desired_scheduled_nodes%K8S_DAEMONSET_DESIRED_SCHEDULED_NODESc                 2    | j                  t        d d      S )zhNumber 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                 2    | j                  t        d d      S )z[Number of nodes that are running the daemon pod, but are not supposed to run the daemon podrF   r   )r   rK   r   s    r   'create_k8s_daemonset_misscheduled_nodesrM   [  s#    ''-q (  r   zk8s.daemonset.ready_nodesK8S_DAEMONSET_READY_NODESc                 2    | j                  t        d d      S )znNumber of nodes that should be running the daemon pod and have one or more of the daemon pod running and readyrF   r   )r   rN   r   s    r    create_k8s_daemonset_ready_nodesrP   n  s&    ''& E (  r   zk8s.deployment.available_podsK8S_DEPLOYMENT_AVAILABLE_PODSc                 2    | j                  t        d d      S )zgTotal 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                 2    | j                  t        d d      S )z1Number of desired replica pods in this deploymentrS   r   )r   rV   r   s    r   "create_k8s_deployment_desired_podsrX     #    ''(G (  r   zk8s.hpa.current_podsK8S_HPA_CURRENT_PODSc                 2    | j                  t        d d      S )zhCurrent number of replica pods managed by this horizontal pod autoscaler, as last seen by the autoscalerrS   r   )r   rZ   r   s    r   create_k8s_hpa_current_podsr\     s#    ''!~ (  r   zk8s.hpa.desired_podsK8S_HPA_DESIRED_PODSc                 2    | j                  t        d d      S )znDesired number of replica pods managed by this horizontal pod autoscaler, as last calculated by the autoscalerrS   r   )r   r]   r   s    r   create_k8s_hpa_desired_podsr_     s&    ''! E (  r   zk8s.hpa.max_podsK8S_HPA_MAX_PODSc                 2    | j                  t        d d      S )zSThe upper limit for the number of replica pods to which the autoscaler can scale uprS   r   )r   r`   r   s    r   create_k8s_hpa_max_podsrb     s#    ''i (  r   z-k8s.hpa.metric.target.cpu.average_utilization-K8S_HPA_METRIC_TARGET_CPU_AVERAGE_UTILIZATION	callbacksc                 4    | j                  t        |dd      S )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                 4    | j                  t        |dd      S )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                 4    | j                  t        |dd      S )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                 2    | j                  t        d d      S )zUThe lower limit for the number of replica pods to which the autoscaler can scale downrS   r   )r   rq   r   s    r   create_k8s_hpa_min_podsrs   ,  s#    ''k (  r   zk8s.job.active_podsK8S_JOB_ACTIVE_PODSc                 2    | j                  t        d d      S )z9The number of pending and actively running pods for a jobrS   r   )r   rt   r   s    r   create_k8s_job_active_podsrv   ?  s#    '' O (  r   zk8s.job.desired_successful_podsK8S_JOB_DESIRED_SUCCESSFUL_PODSc                 2    | j                  t        d d      S )zKThe desired number of successfully finished pods the job should be run withrS   r   )r   rw   r   s    r   &create_k8s_job_desired_successful_podsry   R  s#    '',a (  r   zk8s.job.failed_podsK8S_JOB_FAILED_PODSc                 2    | j                  t        d d      S )z7The number of pods which reached phase Failed for a jobrS   r   )r   rz   r   s    r   create_k8s_job_failed_podsr|   e  s#    '' M (  r   zk8s.job.max_parallel_podsK8S_JOB_MAX_PARALLEL_PODSc                 2    | j                  t        d d      S )zCThe max desired number of pods the job should run at any given timerS   r   )r   r}   r   s    r    create_k8s_job_max_parallel_podsr   x  s#    ''&Y (  r   zk8s.job.successful_podsK8S_JOB_SUCCESSFUL_PODSc                 2    | j                  t        d d      S )z:The number of pods which reached phase Succeeded for a jobrS   r   )r   r   r   s    r   create_k8s_job_successful_podsr     s#    ''$P (  r   zk8s.namespace.phaseK8S_NAMESPACE_PHASEc                 2    | j                  t        dd      S )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                 2    | j                  t        d d      S )z%Amount of cpu allocatable on the noder   r   )r   r   r   s    r   create_k8s_node_allocatable_cpur     s#    ''%; (  r   z&k8s.node.allocatable.ephemeral_storage&K8S_NODE_ALLOCATABLE_EPHEMERAL_STORAGEc                 2    | j                  t        d d      S )z3Amount of ephemeral-storage allocatable on the noder#   r   )r   r   r   s    r   -create_k8s_node_allocatable_ephemeral_storager     s%     ''3I (  r   zk8s.node.allocatable.memoryK8S_NODE_ALLOCATABLE_MEMORYc                 2    | j                  t        d d      S )z(Amount of memory allocatable on the noder#   r   )r   r   r   s    r   "create_k8s_node_allocatable_memoryr     s#    ''(> (  r   zk8s.node.allocatable.podsK8S_NODE_ALLOCATABLE_PODSc                 2    | j                  t        d d      S )z&Amount of pods allocatable on the noderS   r   )r   r   r   s    r    create_k8s_node_allocatable_podsr     s#    ''&< (  r   zk8s.node.condition.statusK8S_NODE_CONDITION_STATUSc                 2    | j                  t        dd      S )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                 2    | j                  t        d d      S z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                 4    | j                  t        |d d      S )zRNode's CPU usage, measured in cpus. Range from 0 to the number of allocatable CPUsr   rg   )rh   r   ri   s     r   create_k8s_node_cpu_usager     s(     ((h	 )  r   zk8s.node.memory.usageK8S_NODE_MEMORY_USAGEc                 4    | j                  t        |d d      S )zMemory usage of the Noder#   rg   )rh   r   ri   s     r   create_k8s_node_memory_usager   /  s(     ((".	 )  r   zk8s.node.network.errorsK8S_NODE_NETWORK_ERRORSc                 2    | j                  t        d d      S )zNode network errors{error}r   )r   r   r   s    r   create_k8s_node_network_errorsr   C  s#    $)    r   zk8s.node.network.ioK8S_NODE_NETWORK_IOc                 2    | j                  t        d d      S )zNetwork bytes for the Noder#   r   )r   r   r   s    r   create_k8s_node_network_ior   T  s#     0    r   zk8s.node.uptimeK8S_NODE_UPTIMEc                 4    | j                  t        |d d      S )z"The time the Node has been runningr   rg   )rh   r   ri   s     r   create_k8s_node_uptimer   g  s(     ((8	 )  r   zk8s.pod.cpu.timeK8S_POD_CPU_TIMEc                 2    | j                  t        d d      S r   )r   r   r   s    r   create_k8s_pod_cpu_timer   |  s#    -    r   zk8s.pod.cpu.usageK8S_POD_CPU_USAGEc                 4    | j                  t        |d d      S )zQPod's CPU usage, measured in cpus. Range from 0 to the number of allocatable CPUsr   rg   )rh   r   ri   s     r   create_k8s_pod_cpu_usager     s(     ((g	 )  r   zk8s.pod.memory.usageK8S_POD_MEMORY_USAGEc                 4    | j                  t        |d d      S )zMemory usage of the Podr#   rg   )rh   r   ri   s     r   create_k8s_pod_memory_usager     s(     ((!-	 )  r   zk8s.pod.network.errorsK8S_POD_NETWORK_ERRORSc                 2    | j                  t        d d      S )zPod network errorsr   r   )r   r   r   s    r   create_k8s_pod_network_errorsr     s#    #(    r   zk8s.pod.network.ioK8S_POD_NETWORK_IOc                 2    | j                  t        d d      S )zNetwork bytes for the Podr#   r   )r   r   r   s    r   create_k8s_pod_network_ior     s#    /    r   zk8s.pod.uptimeK8S_POD_UPTIMEc                 4    | j                  t        |d d      S )z!The time the Pod has been runningr   rg   )rh   r   ri   s     r   create_k8s_pod_uptimer     s(     ((7	 )  r   zk8s.replicaset.available_podsK8S_REPLICASET_AVAILABLE_PODSc                 2    | j                  t        d d      S )zgTotal number of available replica pods (ready for at least minReadySeconds) targeted by this replicasetrS   r   )r   r   r   s    r   $create_k8s_replicaset_available_podsr     rU   r   zk8s.replicaset.desired_podsK8S_REPLICASET_DESIRED_PODSc                 2    | j                  t        d d      S )z1Number of desired replica pods in this replicasetrS   r   )r   r   r   s    r   "create_k8s_replicaset_desired_podsr     rY   r   z)k8s.replication_controller.available_pods)K8S_REPLICATION_CONTROLLER_AVAILABLE_PODSc                 2    | j                  t        dd      S )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                 2    | j                  t        dd      S )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                 2    | j                  t        d d      S )zsTotal number of available replica pods (ready for at least minReadySeconds) targeted by this replication controllerrS   r   )r   r   r   s    r   /create_k8s_replicationcontroller_available_podsr   ?  s(     ''5 J (  r   z&k8s.replicationcontroller.desired_pods&K8S_REPLICATIONCONTROLLER_DESIRED_PODSc                 2    | j                  t        d d      S )z=Number of desired replica pods in this replication controllerrS   r   )r   r   r   s    r   -create_k8s_replicationcontroller_desired_podsr   V  s%     ''3S (  r   z k8s.resourcequota.cpu.limit.hard K8S_RESOURCEQUOTA_CPU_LIMIT_HARDc                 2    | j                  t        dd      S )z|The 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   l  s(     ''- P (  r   z k8s.resourcequota.cpu.limit.used K8S_RESOURCEQUOTA_CPU_LIMIT_USEDc                 2    | j                  t        dd      S )zThe 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                 2    | j                  t        dd      S )z~The 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                 2    | j                  t        dd      S )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                 2    | j                  t        dd      S )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                 2    | j                  t        dd      S )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                 2    | j                  t        dd      S )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                 2    | j                  t        dd      S )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                 2    | j                  t        dd      S )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                 2    | j                  t        dd      S )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   C  s(    
 '': ^ (  r   z#k8s.resourcequota.memory.limit.hard#K8S_RESOURCEQUOTA_MEMORY_LIMIT_HARDc                 2    | j                  t        dd      S )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                 2    | j                  t        dd      S )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   s  s(     ''0 Y (  r   z%k8s.resourcequota.memory.request.hard%K8S_RESOURCEQUOTA_MEMORY_REQUEST_HARDc                 2    | j                  t        dd      S )zThe 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                 2    | j                  t        dd      S )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                 2    | j                  t        dd      S )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                 2    | j                  t        dd      S )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                 2    | j                  t        dd      S )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                 2    | j                  t        dd      S )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                 2    | j                  t        dd      S )zThe 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_hardr
  %  s(    
 ''3 V (  r   z&k8s.resourcequota.storage.request.used&K8S_RESOURCEQUOTA_STORAGE_REQUEST_USEDc                 2    | j                  t        dd      S )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   r  r   s    r   -create_k8s_resourcequota_storage_request_usedr  A  s(    
 ''3 \ (  r   zk8s.statefulset.current_podsK8S_STATEFULSET_CURRENT_PODSc                 2    | j                  t        d d      S )zzThe number of replica pods created by the statefulset controller from the statefulset version indicated by currentRevisionrS   r   )r   r  r   s    r   #create_k8s_statefulset_current_podsr  W  s&    '') Q (  r   zk8s.statefulset.desired_podsK8S_STATEFULSET_DESIRED_PODSc                 2    | j                  t        d d      S )z2Number of desired replica pods in this statefulsetrS   r   )r   r  r   s    r   #create_k8s_statefulset_desired_podsr  j  s#    '')H (  r   zk8s.statefulset.ready_podsK8S_STATEFULSET_READY_PODSc                 2    | j                  t        d d      S )zNThe number of replica pods created for this statefulset with a Ready ConditionrS   r   )r   r  r   s    r   !create_k8s_statefulset_ready_podsr  }  s#    '''d (  r   zk8s.statefulset.updated_podsK8S_STATEFULSET_UPDATED_PODSc                 2    | j                  t        d d      S )zuNumber of replica pods created by the statefulset controller from the statefulset version indicated by updateRevisionrS   r   )r   r  r   s    r   #create_k8s_statefulset_updated_podsr    s&    '') L (  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   <module>r     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:		  7 u 6		%hy&9:		 ";  :% G  3 U 2e   + *		%hy&9:		 - % ,5 W  / 5 .		%hy&9:		 5 e 4		%hy&9:		 !9  8 7  1 E 0U w  ) (		%hy&9:		 (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   