input
stringclasses 1
value | instruction
stringlengths 3
295
| output
stringlengths 3
835
|
---|---|---|
Which Kubernetes metric is used to monitor the current memory usage in bytes, including all memory regardless of when it was accessed?
|
kubernetes_memory_usage
|
|
Which Kubernetes metric tracks the current working set of memory in bytes, which is observed by the OOM killer?
|
kubernetes_memory_working_set
|
|
Which Kubernetes metric measures the amount of memory used for caching data from disk?
|
kubernetes_memory_cache
|
|
Which Kubernetes metric tracks the size of Resident Set Size (RSS) in bytes?
|
kubernetes_memory_rss
|
|
Which Kubernetes metric measures the amount of swap space currently used by processes in a specific cgroup?
|
kubernetes_memory_swap
|
|
Which Kubernetes metric indicates the percentage of memory used?
|
kubernetes_memory_usage_pct
|
|
Which Kubernetes metric indicates the percentage of swap space used?
|
kubernetes_memory_sw_in_use
|
|
Which Kubernetes metric measures the amount of bytes received per second?
|
kubernetes_network_rx_bytes
|
|
Which Kubernetes metric measures the number of received packets dropped per second?
|
kubernetes_network_rx_dropped
|
|
Which Kubernetes metric measures the number of received errors per second?
|
kubernetes_network_rx_errors
|
|
Which Kubernetes metric measures the amount of bytes transmitted per second?
|
kubernetes_network_tx_bytes
|
|
Which Kubernetes metric measures the number of transmitted packets dropped per second?
|
kubernetes_network_tx_dropped
|
|
Which Kubernetes metric measures the number of transmission errors per second?
|
kubernetes_network_tx_errors
|
|
Which Kubernetes metric tracks the amount of disk space used by a container?
|
kubernetes_diskio_io_service_bytes_stats_total
|
|
Which Kubernetes metric tracks the remaining lifetime of the certificate used to authenticate a request?
|
kubernetes_apiserver_certificate_expiration_count
|
|
Which Kubernetes metric sums the remaining lifetime of certificates used to authenticate requests?
|
kubernetes_apiserver_certificate_expiration_sum
|
|
Which Kubernetes metric tracks the number of HTTP requests?
|
kubernetes_rest_client_requests
|
|
Which Kubernetes metric counts the request latency in seconds, broken down by verb and URL?
|
kubernetes_rest_client_latency_count
|
|
Which Kubernetes metric sums the request latency in seconds, broken down by verb and URL?
|
kubernetes_rest_client_latency_sum
|
|
Which Kubernetes metric tracks the number of runtime operations?
|
kubernetes_kubelet_runtime_operations
|
|
Which Kubernetes metric tracks the number of errors in runtime operations?
|
kubernetes_kubelet_runtime_errors
|
|
Which Kubernetes metric sums the latency in microseconds of network plugin operations?
|
kubernetes_kubelet_network_plugin_latency_sum
|
|
Which Kubernetes metric counts the network plugin operations by latency?
|
kubernetes_kubelet_network_plugin_latency_count
|
|
Which Kubernetes metric provides the quantiles of network plugin operations by latency?
|
kubernetes_kubelet_network_plugin_latency_quantile
|
|
Which Kubernetes metric indicates the number of available bytes in a specific volume?
|
kubernetes_kubelet_volume_stats_available_bytes
|
|
Which Kubernetes metric indicates the capacity in bytes of a specific volume?
|
kubernetes_kubelet_volume_stats_capacity_bytes
|
|
Which Kubernetes metric indicates the number of used bytes in a specific volume?
|
kubernetes_kubelet_volume_stats_used_bytes
|
|
Which Kubernetes metric indicates the maximum number of inodes in a specific volume?
|
kubernetes_kubelet_volume_stats_inodes
|
|
Which Kubernetes metric indicates the number of free inodes in a specific volume?
|
kubernetes_kubelet_volume_stats_inodes_free
|
|
Which Kubernetes metric indicates the number of used inodes in a specific volume?
|
kubernetes_kubelet_volume_stats_inodes_used
|
|
Which Kubernetes metric tracks the usage of ephemeral storage by a pod?
|
kubernetes_ephemeral_storage_usage
|
|
Which Kubernetes metric measures the number of cores used by the kubelet?
|
kubernetes_kubelet_cpu_usage
|
|
Which Kubernetes metric measures the size of kubelet RSS in bytes?
|
kubernetes_kubelet_memory_rss
|
|
Which Kubernetes metric measures the number of cores used by the runtime?
|
kubernetes_runtime_cpu_usage
|
|
Which Kubernetes metric measures the size of runtime RSS in bytes?
|
kubernetes_runtime_memory_rss
|
|
Which Kubernetes metric tracks the amount of disk space used by a container's logs on the filesystem?
|
kubernetes_kubelet_container_log_filesystem_used_bytes
|
|
Which Kubernetes metric tracks the current phase of a persistent volume claim?
|
kubernetes_state_persistentvolumeclaim_status
|
|
Which Kubernetes metric indicates the storage space requested for a specific persistent volume claim?
|
kubernetes_state_persistentvolumeclaim_request_storage
|
|
Which Kubernetes metric counts the number of persistent volumes, summed by phase and storage class?
|
kubernetes_state_persistentvolumes_by_phase
|
|
Which Kubernetes metric indicates the number of available bytes in a specific volume?
|
kubernetes_kubelet_volume_stats_available_bytes
|
|
Which Kubernetes metric indicates the capacity in bytes of a specific volume?
|
kubernetes_kubelet_volume_stats_capacity_bytes
|
|
Which Kubernetes metric indicates the number of used bytes in a specific volume?
|
kubernetes_kubelet_volume_stats_used_bytes
|
|
Which Kubernetes metric indicates the maximum number of inodes in a specific volume?
|
kubernetes_kubelet_volume_stats_inodes
|
|
Which Kubernetes metric indicates the number of free inodes in a specific volume?
|
kubernetes_kubelet_volume_stats_inodes_free
|
|
Which Kubernetes metric indicates the number of used inodes in a specific volume?
|
kubernetes_kubelet_volume_stats_inodes_used
|
|
Which Kubernetes metric, in association with the condition tag, tracks pods that are ready to serve requests, e.g., condition:true for pods in a ready state.
|
kubernetes_state_pod_ready
|
|
Report the Kubernetes metric used to track the scheduling status of a pod with its tags.
|
kubernetes_state_pod_scheduled
|
|
Which Kubernetes metric is used to report pods that the Kube scheduler cannot schedule on any node?
|
kubernetes_state_pod_unschedulable
|
|
Sum by phase to obtain the count of pods in a given phase, and use namespace to break it down by namespace.
|
kubernetes_state_pod_status_phase
|
|
Which Kubernetes metric is used to track the number of running pods in a cluster?
|
kubernetes_pods_running
|
|
Which Kubernetes metric is used to track the number of expired pods in a cluster?
|
kubernetes_pods_expired
|
|
Which Kubernetes metric tracks the current phase of a persistent volume claim?
|
kubernetes_state_persistentvolumeclaim_status
|
|
Which Kubernetes metric indicates the storage space requested for a specific persistent volume claim?
|
kubernetes_state_persistentvolumeclaim_request_storage
|
|
Which Kubernetes metric is used to track the number of replicasets?
|
kubernetes_state_replicaset_count
|
|
Which Kubernetes metric is used to track the number of replicas per ReplicaSet?
|
kubernetes_state_replicaset_replicas
|
|
Which Kubernetes metric is used to track the number of fully labeled replicas per ReplicaSet?
|
kubernetes_state_replicaset_fully_labeled_replicas
|
|
Which Kubernetes metric is used to track the number of ready replicas per ReplicaSet?
|
kubernetes_state_replicaset_replicas_ready
|
|
Which Kubernetes metric is used to track the number of desired pods for a ReplicaSet?
|
kubernetes_state_replicaset_replicas_desired
|
|
Which Kubernetes metric, when summed by namespace and type, provides the count of active services?
|
kubernetes_state_service_count
|
|
Which Kubernetes metric is used to track the number of replicas per StatefulSet?
|
kubernetes_state_statefulset_replicas
|
|
Which Kubernetes metric is used to track the number of desired replicas per StatefulSet?
|
kubernetes_state_statefulset_replicas_desired
|
|
Which Kubernetes metric is used to track the number of current replicas per StatefulSet?
|
kubernetes_state_statefulset_replicas_current
|
|
Which Kubernetes metric is used to track the number of ready replicas per StatefulSet?
|
kubernetes_state_statefulset_replicas_ready
|
|
Which Kubernetes metric is used to track the number of updated replicas per StatefulSet?
|
kubernetes_state_statefulset_replicas_updated
|
|
kafka topic partition count
|
kafka_topic_partition_count
|
|
kafka topic partition leader count by broker_id by each topic for job='my-job'
|
count_values by (topic) ('broker_id',kafka_topic_partition_leader{job='my-job'})
|
|
counts the occurrences of each unique broker_id across different topics.
The metric you are working with is named kafka_topic_partition_leader and it includes a label for the job named 'my-job'.
|
count_values by (topic) ('broker_id',kafka_topic_partition_leader{job='my-job'})
|
|
counts the occurrences of each unique broker_id across different topics.
The metric you are working with is named my_very_good_metric and it includes a label for the job named 'my-job'.
|
count_values by (topic) ('broker_id',my_very_good_metric{job='my-job'})
|
|
counts the occurrences of each unique broker_id across different topics.
The metric you are working with is named my_very_good_metric and it includes a label for the job named 'my-job'.
|
count_values by (topic) ('broker_id',my_very_good_metric{job='my-job'})
|
|
κ° κ³ μ broker_idμ λ°μ νμλ₯Ό ν ν½λ³λ‘ κ³μ°ν©λλ€. μμ
νκ³ μλ λ©νΈλ¦μ μ΄λ¦μ 'my_very_good_metric'μ΄λ©°, 'my-job'μ΄λΌλ jobμ νμ νμ¬ κ²°κ³Όλ₯Ό λμΆν©λλ€.
|
count_values by (topic) ('broker_id',my_very_good_metric{job='my-job'})
|
|
κ°κ°μ κ³ μ broker_idκ° topicλ³λ‘ λͺ λ² λ±μ₯νλμ§ κ³μ°νλ €κ³ ν©λλ€. μ¬μ© μ€μΈ λ©νΈλ¦μ μ΄λ¦μ 'my_very_good_metric'μ΄λ©°, 'my-job'μ΄λΌλ jobμ λν κ²°κ³Όλ§ νμν©λλ€.
|
count_values by (topic) ('broker_id',my_very_good_metric{job='my-job'})
|
|
job='yours' λ μ΄λΈμ΄ μλ μΈμ€ν΄μ€μ λν΄ my_very_good_metric μ κ°μ broker_id λ‘ λ μ΄λΈμ μ μνμ¬ κ°μ λ°μ νμλ₯Ό topic λ³λ‘ κ³μ°ν©λλ€.
|
count_values by (topic) ('broker_id',my_very_good_metric{job='yours'})
|
|
job='yours' λ μ΄λΈμ΄ μλ μΈμ€ν΄μ€μ λν΄ my_very_good_metric μ κ°μ λ μ΄λΈμ broker_id λ‘ μ μνμ¬ κ° κ°μ κ°μλ₯Ό topic λ³λ‘ κ³μ°ν©λλ€.
|
count_values by (topic) ('broker_id',my_very_good_metric{job='yours'})
|
|
my_very_very_good_metric μ κ°μ λ μ΄λΈμ abc λ‘ μ μνμ¬ κ° κ°μ κ°μλ₯Ό topic λ³λ‘ κ³μ°ν©λλ€. job='yours' λ μ΄λΈμ΄ μλ μΈμ€ν΄μ€μ λν΄μλ§ κ³μ°ν©λλ€.
|
count_values by (topic) ('abc',my_very_very_good_metric{job='yours'})
|
|
kafka_topic_partitions μ κ°μλ₯Ό job='ajob'μ λν κ²½μ°μ νμ ν΄μ κ³μ°ν©λλ€.
|
kafka_topic_partitions{job='ajob'}
|
|
kafka_topic_partitions μ κ°μλ₯Ό job='ajob' λ μ΄λΈμ΄ μλ λͺ¨λ μΈμ€ν΄μ€μ λν΄ κ³μ°ν©λλ€.
|
kafka_topic_partitions{job='ajob'}
|
|
http_requests_totalμ method λ‘ group by νμ¬ ν©μ°ν΄ 보μ¬μ€λ€
|
sum(http_requests_total) by (method)
|
|
http_requests_totalμ method λ‘ group by νμ¬ ν©μ°ν΄ 보μ¬μ€λ€
|
sum by (method) (http_requests_total)
|
|
http_requests_totalμ method λ³λ‘ ν©νμ¬ λ³΄μ¬μ€λ€
|
sum by (method) (http_requests_total)
|
|
host λ μ΄λΈλ‘ κ·Έλ£Ήνλ μ§λ 5λΆ λμ request_count λ©νΈλ¦μ λ³κ²½ λΉμ¨μ ꡬνλ€.
|
rate(request_count[5m]) by (host)
|
|
host λ μ΄λΈ λ¨μλ‘ μ§λ 10λΆκ° request_count λ©νΈλ¦μ λ³κ²½ λΉμ¨
|
rate(request_count[10m]) by (host)
|
|
app=api λ μ΄λΈμ΄ μλ λͺ¨λ μΈμ€ν΄μ€μ λν΄ μ§λ 1μκ° λμμ νκ· cpu_utilization
|
avg(cpu_utilization{app='api'}[1h])
|
|
app='api' λ μ΄λΈμ΄ μλ λͺ¨λ μΈμ€ν΄μ€μ λν΄ μ§λ 1μκ° λμμ cpu_utilization κ°μ νκ·
|
avg(cpu_utilization{app='api'}[1h])
|
|
app='api' λ μ΄λΈμ΄ μλ λͺ¨λ μΈμ€ν΄μ€μ λν΄ μ§λ 2μκ° λμμ service_metric κ°μ νκ·
|
avg(service_metric{app='api'}[2h])
|
|
app='api' λ μ΄λΈμ΄ μλ μΈμ€ν΄μ€μ λν΄μλ§ μ§λ 2μκ° λμμ service_metricμ νκ· μ ꡬν©λλ€.
|
avg(service_metric{app='api'}[2h])
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.