SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
chore: removed code and tests (#12243)
Nikhil Mantrif0a0b95ecdb8
diff --git a/docs/api/openapi.yml b/docs/api/openapi.ymlindex 323ffcbbb1..2cf9906782 100644--- a/docs/api/openapi.yml+++ b/docs/api/openapi.yml@@ -4307,8 +4307,6 @@ components:type: objectnodeCountsByReadiness:$ref: '#/components/schemas/InframonitoringtypesNodeCountsByReadiness'- podCountsByPhase:- $ref: '#/components/schemas/InframonitoringtypesPodCountsByPhase'podCountsByStatus:$ref: '#/components/schemas/InframonitoringtypesPodCountsByStatus'required:@@ -4318,7 +4316,6 @@ components:- clusterMemory- clusterMemoryAllocatable- nodeCountsByReadiness- - podCountsByPhase- podCountsByStatus- counts- meta@@ -4528,8 +4525,6 @@ components:type: objectmisscheduledNodes:type: integer- podCountsByPhase:- $ref: '#/components/schemas/InframonitoringtypesPodCountsByPhase'podCountsByStatus:$ref: '#/components/schemas/InframonitoringtypesPodCountsByStatus'readyNodes:@@ -4546,7 +4541,6 @@ components:- currentNodes- readyNodes- misscheduledNodes- - podCountsByPhase- podCountsByStatus- metatype: object@@ -4601,8 +4595,6 @@ components:type: stringnullable: truetype: object- podCountsByPhase:- $ref: '#/components/schemas/InframonitoringtypesPodCountsByPhase'podCountsByStatus:$ref: '#/components/schemas/InframonitoringtypesPodCountsByStatus'required:@@ -4615,7 +4607,6 @@ components:- deploymentMemoryLimit- desiredPods- availablePods- - podCountsByPhase- podCountsByStatus- metatype: object@@ -4747,8 +4738,6 @@ components:type: stringnullable: truetype: object- podCountsByPhase:- $ref: '#/components/schemas/InframonitoringtypesPodCountsByPhase'podCountsByStatus:$ref: '#/components/schemas/InframonitoringtypesPodCountsByStatus'successfulPods:@@ -4765,7 +4754,6 @@ components:- activePods- failedPods- successfulPods- - podCountsByPhase- podCountsByStatus- metatype: object@@ -4875,15 +4863,12 @@ components:type: numbernamespaceName:type: string- podCountsByPhase:- $ref: '#/components/schemas/InframonitoringtypesPodCountsByPhase'podCountsByStatus:$ref: '#/components/schemas/InframonitoringtypesPodCountsByStatus'required:- namespaceName- namespaceCPU- namespaceMemory- - podCountsByPhase- podCountsByStatus- counts- meta@@ -4949,15 +4934,12 @@ components:type: numbernodeName:type: string- podCountsByPhase:- $ref: '#/components/schemas/InframonitoringtypesPodCountsByPhase'podCountsByStatus:$ref: '#/components/schemas/InframonitoringtypesPodCountsByStatus'required:- nodeName- condition- nodeCountsByReadiness- - podCountsByPhase- podCountsByStatus- nodeCPU- nodeCPUAllocatable@@ -4985,25 +4967,6 @@ components:- total- endTimeBeforeRetentiontype: object- InframonitoringtypesPodCountsByPhase:- properties:- failed:- type: integer- pending:- type: integer- running:- type: integer- succeeded:- type: integer- unknown:- type: integer- required:- - pending- - running- - succeeded- - failed- - unknown- type: objectInframonitoringtypesPodCountsByStatus:properties:completed:@@ -5062,15 +5025,6 @@ components:- shutdown- unexpectedAdmissionErrortype: object- InframonitoringtypesPodPhase:- enum:- - pending- - running- - succeeded- - failed- - unknown- - no_data- type: stringInframonitoringtypesPodRecord:properties:meta:@@ -5090,8 +5044,6 @@ components:podCPURequest:format: doubletype: number- podCountsByPhase:- $ref: '#/components/schemas/InframonitoringtypesPodCountsByPhase'podCountsByStatus:$ref: '#/components/schemas/InframonitoringtypesPodCountsByStatus'podMemory:@@ -5103,8 +5055,6 @@ components:podMemoryRequest:format: doubletype: number- podPhase:- $ref: '#/components/schemas/InframonitoringtypesPodPhase'podRestarts:format: int64type: integer@@ -5120,8 +5070,6 @@ components:- podMemory- podMemoryRequest- podMemoryLimit- - podPhase- - podCountsByPhase- podStatus- podCountsByStatus- podRestarts@@ -5472,8 +5420,6 @@ components:type: stringnullable: truetype: object- podCountsByPhase:- $ref: '#/components/schemas/InframonitoringtypesPodCountsByPhase'podCountsByStatus:$ref: '#/components/schemas/InframonitoringtypesPodCountsByStatus'statefulSetCPU:@@ -5506,7 +5452,6 @@ components:- statefulSetMemoryLimit- desiredPods- currentPods- - podCountsByPhase- podCountsByStatus- metatype: object@@ -16160,17 +16105,19 @@ paths:metrics derived by summing per-node values within the group: CPU usage, CPUallocatable, memory working set, memory allocatable. Each row also reportsper-group nodeCountsByReadiness ({ ready, notReady } from each node''s latest- k8s.node.condition_ready value) and per-group podCountsByPhase ({ pending,- running, succeeded, failed, unknown } from each pod''s latest k8s.pod.phase- value). Each cluster includes metadata attributes (k8s.cluster.name). The- response type is ''list'' for the default k8s.cluster.name grouping or ''grouped_list''- for custom groupBy keys; in both modes every row aggregates nodes and pods- in the group. Supports filtering via a filter expression, custom groupBy,- ordering by cpu / cpu_allocatable / memory / memory_allocatable, and pagination- via offset/limit. Also reports whether the requested time range falls before- the data retention boundary. Numeric metric fields (clusterCPU, clusterCPUAllocatable,- clusterMemory, clusterMemoryAllocatable) return -1 as a sentinel when no data- is available for that field.'+ k8s.node.condition_ready value) and per-group podCountsByStatus ({ pending,+ running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull,+ createContainerConfigError, containerCreating, oomKilled, completed, error,+ containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError+ } reflecting each pod''s latest kubectl-style display status). Each cluster+ includes metadata attributes (k8s.cluster.name). The response type is ''list''+ for the default k8s.cluster.name grouping or ''grouped_list'' for custom groupBy+ keys; in both modes every row aggregates nodes and pods in the group. Supports+ filtering via a filter expression, custom groupBy, ordering by cpu / cpu_allocatable+ / memory / memory_allocatable, and pagination via offset/limit. Also reports+ whether the requested time range falls before the data retention boundary.+ Numeric metric fields (clusterCPU, clusterCPUAllocatable, clusterMemory, clusterMemoryAllocatable)+ return -1 as a sentinel when no data is available for that field.'operationId: ListClustersrequestBody:content:@@ -16238,13 +16185,16 @@ paths:the number of nodes running at least one ready daemon pod) and misscheduledNodes(k8s.daemonset.misscheduled_nodes, the number of nodes running the daemonpod but not supposed to) — note these are node counts, not pod counts. It- also reports per-group podCountsByPhase ({ pending, running, succeeded, failed,- unknown } from each pod''s latest k8s.pod.phase value). Each daemonset includes- metadata attributes (k8s.daemonset.name, k8s.namespace.name, k8s.cluster.name).- The response type is ''list'' for the default k8s.daemonset.name grouping- or ''grouped_list'' for custom groupBy keys; in both modes every row aggregates- pods owned by daemonsets in the group. Supports filtering via a filter expression,- custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request+ also reports per-group podCountsByStatus ({ pending, running, failed, unknown,+ crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError,+ containerCreating, oomKilled, completed, error, containerCannotRun, evicted,+ nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } reflecting each+ pod''s latest kubectl-style display status). Each daemonset includes metadata+ attributes (k8s.daemonset.name, k8s.namespace.name, k8s.cluster.name). The+ response type is ''list'' for the default k8s.daemonset.name grouping or ''grouped_list''+ for custom groupBy keys; in both modes every row aggregates pods owned by+ daemonsets in the group. Supports filtering via a filter expression, custom+ groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request/ memory_limit / desired_nodes / current_nodes / ready_nodes / misscheduled_nodes,and pagination via offset/limit. Also reports whether the requested time rangefalls before the data retention boundary. Numeric metric fields (daemonSetCPU,@@ -16312,17 +16262,19 @@ paths:the deployment, plus average CPU/memory request and limit utilization (deploymentCPURequest,deploymentCPULimit, deploymentMemoryRequest, deploymentMemoryLimit). Eachrow also reports the latest known desiredPods (k8s.deployment.desired) and- availablePods (k8s.deployment.available) replica counts and per-group podCountsByPhase- ({ pending, running, succeeded, failed, unknown } from each pod''s latest- k8s.pod.phase value). Each deployment includes metadata attributes (k8s.deployment.name,- k8s.namespace.name, k8s.cluster.name). The response type is ''list'' for the- default k8s.deployment.name grouping or ''grouped_list'' for custom groupBy- keys; in both modes every row aggregates pods owned by deployments in the- group. Supports filtering via a filter expression, custom groupBy, ordering- by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit- / desired_pods / available_pods, and pagination via offset/limit. Also reports- whether the requested time range falls before the data retention boundary.- Numeric metric fields (deploymentCPU, deploymentCPURequest, deploymentCPULimit,+ availablePods (k8s.deployment.available) replica counts and per-group podCountsByStatus+ ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff,+ errImagePull, createContainerConfigError, containerCreating, oomKilled, completed,+ error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError+ } reflecting each pod''s latest kubectl-style display status). Each deployment+ includes metadata attributes (k8s.deployment.name, k8s.namespace.name, k8s.cluster.name).+ The response type is ''list'' for the default k8s.deployment.name grouping+ or ''grouped_list'' for custom groupBy keys; in both modes every row aggregates+ pods owned by deployments in the group. Supports filtering via a filter expression,+ custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request+ / memory_limit / desired_pods / available_pods, and pagination via offset/limit.+ Also reports whether the requested time range falls before the data retention+ boundary. Numeric metric fields (deploymentCPU, deploymentCPURequest, deploymentCPULimit,deploymentMemory, deploymentMemoryRequest, deploymentMemoryLimit, desiredPods,availablePods) return -1 as a sentinel when no data is available for thatfield.'@@ -16457,9 +16409,12 @@ paths:(k8s.job.desired_successful_pods, the target completion count), activePods(k8s.job.active_pods), failedPods (k8s.job.failed_pods, cumulative acrossthe lifetime of the job), and successfulPods (k8s.job.successful_pods, cumulative).- It also reports per-group podCountsByPhase ({ pending, running, succeeded,- failed, unknown } from each pod''s latest k8s.pod.phase value); note podCountsByPhase.failed- (current pod-phase) is distinct from failedPods (cumulative job kube-state-metric).+ It also reports per-group podCountsByStatus ({ pending, running, failed, unknown,+ crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError,+ containerCreating, oomKilled, completed, error, containerCannotRun, evicted,+ nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } reflecting each+ pod''s latest kubectl-style display status); note podCountsByStatus.failed+ (current pod status) is distinct from failedPods (cumulative job kube-state-metric).Each job includes metadata attributes (k8s.job.name, k8s.namespace.name, k8s.cluster.name).The response type is ''list'' for the default k8s.job.name grouping or ''grouped_list''for custom groupBy keys; in both modes every row aggregates pods owned by@@ -16609,16 +16564,18 @@ paths:deprecated: falsedescription: 'Returns a paginated list of Kubernetes namespaces with key aggregatedpod metrics: CPU usage and memory working set (summed across pods in the group),- plus per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown- } from each pod''s latest k8s.pod.phase value in the window). Each namespace- includes metadata attributes (k8s.namespace.name, k8s.cluster.name). The response- type is ''list'' for the default k8s.namespace.name grouping or ''grouped_list''- for custom groupBy keys; in both modes every row aggregates pods in the group.- Supports filtering via a filter expression, custom groupBy, ordering by cpu- / memory, and pagination via offset/limit. Also reports whether the requested- time range falls before the data retention boundary. Numeric metric fields- (namespaceCPU, namespaceMemory) return -1 as a sentinel when no data is available- for that field.'+ plus per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff,+ imagePullBackOff, errImagePull, createContainerConfigError, containerCreating,+ oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost,+ shutdown, unexpectedAdmissionError } reflecting each pod''s latest kubectl-style+ display status in the window). Each namespace includes metadata attributes+ (k8s.namespace.name, k8s.cluster.name). The response type is ''list'' for+ the default k8s.namespace.name grouping or ''grouped_list'' for custom groupBy+ keys; in both modes every row aggregates pods in the group. Supports filtering+ via a filter expression, custom groupBy, ordering by cpu / memory, and pagination+ via offset/limit. Also reports whether the requested time range falls before+ the data retention boundary. Numeric metric fields (namespaceCPU, namespaceMemory)+ return -1 as a sentinel when no data is available for that field.'operationId: ListNamespacesrequestBody:content:@@ -16678,18 +16635,21 @@ paths:description: 'Returns a paginated list of Kubernetes nodes with key metrics:CPU usage, CPU allocatable, memory working set, memory allocatable, per-groupnodeCountsByReadiness ({ ready, notReady } from each node''s latest k8s.node.condition_ready- in the window) and per-group podCountsByPhase ({ pending, running, succeeded,- failed, unknown } for pods scheduled on the listed nodes). Each node includes- metadata attributes (k8s.node.uid, k8s.cluster.name). The response type is- ''list'' for the default k8s.node.name grouping (each row is one node with- its current condition string: ready / not_ready / no_data) or ''grouped_list''- for custom groupBy keys (each row aggregates nodes in the group; condition- stays no_data). Supports filtering via a filter expression, custom groupBy,- ordering by cpu / cpu_allocatable / memory / memory_allocatable, and pagination- via offset/limit. Also reports whether the requested time range falls before- the data retention boundary. Numeric metric fields (nodeCPU, nodeCPUAllocatable,- nodeMemory, nodeMemoryAllocatable) return -1 as a sentinel when no data is- available for that field.'+ in the window) and per-group podCountsByStatus ({ pending, running, failed,+ unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError,+ containerCreating, oomKilled, completed, error, containerCannotRun, evicted,+ nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } for pods scheduled+ on the listed nodes, reflecting each pod''s latest kubectl-style display status).+ Each node includes metadata attributes (k8s.node.uid, k8s.cluster.name). The+ response type is ''list'' for the default k8s.node.name grouping (each row+ is one node with its current condition string: ready / not_ready / no_data)+ or ''grouped_list'' for custom groupBy keys (each row aggregates nodes in+ the group; condition stays no_data). Supports filtering via a filter expression,+ custom groupBy, ordering by cpu / cpu_allocatable / memory / memory_allocatable,+ and pagination via offset/limit. Also reports whether the requested time range+ falls before the data retention boundary. Numeric metric fields (nodeCPU,+ nodeCPUAllocatable, nodeMemory, nodeMemoryAllocatable) return -1 as a sentinel+ when no data is available for that field.'operationId: ListNodesrequestBody:content:@@ -16748,20 +16708,23 @@ paths:deprecated: falsedescription: 'Returns a paginated list of Kubernetes pods with key metrics:CPU usage, CPU request/limit utilization, memory working set, memory request/limit- utilization, current pod phase (pending/running/succeeded/failed/unknown/no_data),- and pod age (ms since start time). Each pod includes metadata attributes (namespace,- node, workload owner such as deployment/statefulset/daemonset/job/cronjob,+ utilization, current pod status (kubectl-style display status such as Running/Pending/CrashLoopBackOff,+ or no_data), and pod age (ms since start time). Each pod includes metadata+ attributes (namespace, node, workload owner such as deployment/statefulset/daemonset/job/cronjob,cluster). Supports filtering via a filter expression, custom groupBy to aggregatepods by any attribute, ordering by any of the six metrics (cpu, cpu_request,cpu_limit, memory, memory_request, memory_limit), and pagination via offset/limit.The response type is ''list'' for the default k8s.pod.uid grouping (each row- is one pod with its current phase) or ''grouped_list'' for custom groupBy- keys (each row aggregates pods in the group with per-phase counts under podCountsByPhase:- { pending, running, succeeded, failed, unknown } derived from each pod''s- latest phase in the window). Also reports whether the requested time range- falls before the data retention boundary. Numeric metric fields (podCPU, podCPURequest,- podCPULimit, podMemory, podMemoryRequest, podMemoryLimit, podAge) return -1- as a sentinel when no data is available for that field.'+ is one pod with its current status) or ''grouped_list'' for custom groupBy+ keys (each row aggregates pods in the group with per-status counts under podCountsByStatus:+ { pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull,+ createContainerConfigError, containerCreating, oomKilled, completed, error,+ containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError+ } derived from each pod''s latest kubectl-style display status in the window).+ Also reports whether the requested time range falls before the data retention+ boundary. Numeric metric fields (podCPU, podCPURequest, podCPULimit, podMemory,+ podMemoryRequest, podMemoryLimit, podAge) return -1 as a sentinel when no+ data is available for that field.'operationId: ListPodsrequestBody:content:@@ -16894,16 +16857,19 @@ paths:statefulSetCPULimit, statefulSetMemoryRequest, statefulSetMemoryLimit). Eachrow also reports the latest known desiredPods (k8s.statefulset.desired_pods)and currentPods (k8s.statefulset.current_pods) replica counts and per-group- podCountsByPhase ({ pending, running, succeeded, failed, unknown } from each- pod''s latest k8s.pod.phase value). Each statefulset includes metadata attributes- (k8s.statefulset.name, k8s.namespace.name, k8s.cluster.name). The response- type is ''list'' for the default k8s.statefulset.name grouping or ''grouped_list''- for custom groupBy keys; in both modes every row aggregates pods owned by- statefulsets in the group. Supports filtering via a filter expression, custom- groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request- / memory_limit / desired_pods / current_pods, and pagination via offset/limit.- Also reports whether the requested time range falls before the data retention- boundary. Numeric metric fields (statefulSetCPU, statefulSetCPURequest, statefulSetCPULimit,+ podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff,+ imagePullBackOff, errImagePull, createContainerConfigError, containerCreating,+ oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost,+ shutdown, unexpectedAdmissionError } reflecting each pod''s latest kubectl-style+ display status). Each statefulset includes metadata attributes (k8s.statefulset.name,+ k8s.namespace.name, k8s.cluster.name). The response type is ''list'' for the+ default k8s.statefulset.name grouping or ''grouped_list'' for custom groupBy+ keys; in both modes every row aggregates pods owned by statefulsets in the+ group. Supports filtering via a filter expression, custom groupBy, ordering+ by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit+ / desired_pods / current_pods, and pagination via offset/limit. Also reports+ whether the requested time range falls before the data retention boundary.+ Numeric metric fields (statefulSetCPU, statefulSetCPURequest, statefulSetCPULimit,statefulSetMemory, statefulSetMemoryRequest, statefulSetMemoryLimit, desiredPods,currentPods) return -1 as a sentinel when no data is available for that field.'operationId: ListStatefulSetsdiff --git a/frontend/src/api/generated/services/inframonitoring/index.ts b/frontend/src/api/generated/services/inframonitoring/index.tsindex fe345b0203..096de306bd 100644--- a/frontend/src/api/generated/services/inframonitoring/index.ts+++ b/frontend/src/api/generated/services/inframonitoring/index.ts@@ -136,7 +136,7 @@ export const invalidateGetChecks = async (};/**- * Returns a paginated list of Kubernetes clusters with key aggregated metrics derived by summing per-node values within the group: CPU usage, CPU allocatable, memory working set, memory allocatable. Each row also reports per-group nodeCountsByReadiness ({ ready, notReady } from each node's latest k8s.node.condition_ready value) and per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown } from each pod's latest k8s.pod.phase value). Each cluster includes metadata attributes (k8s.cluster.name). The response type is 'list' for the default k8s.cluster.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates nodes and pods in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_allocatable / memory / memory_allocatable, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (clusterCPU, clusterCPUAllocatable, clusterMemory, clusterMemoryAllocatable) return -1 as a sentinel when no data is available for that field.+ * Returns a paginated list of Kubernetes clusters with key aggregated metrics derived by summing per-node values within the group: CPU usage, CPU allocatable, memory working set, memory allocatable. Each row also reports per-group nodeCountsByReadiness ({ ready, notReady } from each node's latest k8s.node.condition_ready value) and per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } reflecting each pod's latest kubectl-style display status). Each cluster includes metadata attributes (k8s.cluster.name). The response type is 'list' for the default k8s.cluster.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates nodes and pods in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_allocatable / memory / memory_allocatable, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (clusterCPU, clusterCPUAllocatable, clusterMemory, clusterMemoryAllocatable) return -1 as a sentinel when no data is available for that field.* @summary List Clusters for Infra Monitoring*/export const listClusters = (@@ -219,7 +219,7 @@ export const useListClusters = <return useMutation(getListClustersMutationOptions(options));};/**- * Returns a paginated list of Kubernetes DaemonSets with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the daemonset, plus average CPU/memory request and limit utilization (daemonSetCPURequest, daemonSetCPULimit, daemonSetMemoryRequest, daemonSetMemoryLimit). Each row also reports the latest known node-level counters from kube-state-metrics: desiredNodes (k8s.daemonset.desired_scheduled_nodes, the number of nodes the daemonset wants to run on), currentNodes (k8s.daemonset.current_scheduled_nodes, the number of nodes the daemonset currently runs on), readyNodes (k8s.daemonset.ready_nodes, the number of nodes running at least one ready daemon pod) and misscheduledNodes (k8s.daemonset.misscheduled_nodes, the number of nodes running the daemon pod but not supposed to) — note these are node counts, not pod counts. It also reports per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown } from each pod's latest k8s.pod.phase value). Each daemonset includes metadata attributes (k8s.daemonset.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.daemonset.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by daemonsets in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_nodes / current_nodes / ready_nodes / misscheduled_nodes, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (daemonSetCPU, daemonSetCPURequest, daemonSetCPULimit, daemonSetMemory, daemonSetMemoryRequest, daemonSetMemoryLimit, desiredNodes, currentNodes, readyNodes, misscheduledNodes) return -1 as a sentinel when no data is available for that field.+ * Returns a paginated list of Kubernetes DaemonSets with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the daemonset, plus average CPU/memory request and limit utilization (daemonSetCPURequest, daemonSetCPULimit, daemonSetMemoryRequest, daemonSetMemoryLimit). Each row also reports the latest known node-level counters from kube-state-metrics: desiredNodes (k8s.daemonset.desired_scheduled_nodes, the number of nodes the daemonset wants to run on), currentNodes (k8s.daemonset.current_scheduled_nodes, the number of nodes the daemonset currently runs on), readyNodes (k8s.daemonset.ready_nodes, the number of nodes running at least one ready daemon pod) and misscheduledNodes (k8s.daemonset.misscheduled_nodes, the number of nodes running the daemon pod but not supposed to) — note these are node counts, not pod counts. It also reports per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } reflecting each pod's latest kubectl-style display status). Each daemonset includes metadata attributes (k8s.daemonset.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.daemonset.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by daemonsets in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_nodes / current_nodes / ready_nodes / misscheduled_nodes, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (daemonSetCPU, daemonSetCPURequest, daemonSetCPULimit, daemonSetMemory, daemonSetMemoryRequest, daemonSetMemoryLimit, desiredNodes, currentNodes, readyNodes, misscheduledNodes) return -1 as a sentinel when no data is available for that field.* @summary List DaemonSets for Infra Monitoring*/export const listDaemonSets = (@@ -302,7 +302,7 @@ export const useListDaemonSets = <return useMutation(getListDaemonSetsMutationOptions(options));};/**- * Returns a paginated list of Kubernetes Deployments with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the deployment, plus average CPU/memory request and limit utilization (deploymentCPURequest, deploymentCPULimit, deploymentMemoryRequest, deploymentMemoryLimit). Each row also reports the latest known desiredPods (k8s.deployment.desired) and availablePods (k8s.deployment.available) replica counts and per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown } from each pod's latest k8s.pod.phase value). Each deployment includes metadata attributes (k8s.deployment.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.deployment.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by deployments in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_pods / available_pods, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (deploymentCPU, deploymentCPURequest, deploymentCPULimit, deploymentMemory, deploymentMemoryRequest, deploymentMemoryLimit, desiredPods, availablePods) return -1 as a sentinel when no data is available for that field.+ * Returns a paginated list of Kubernetes Deployments with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the deployment, plus average CPU/memory request and limit utilization (deploymentCPURequest, deploymentCPULimit, deploymentMemoryRequest, deploymentMemoryLimit). Each row also reports the latest known desiredPods (k8s.deployment.desired) and availablePods (k8s.deployment.available) replica counts and per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } reflecting each pod's latest kubectl-style display status). Each deployment includes metadata attributes (k8s.deployment.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.deployment.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by deployments in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_pods / available_pods, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (deploymentCPU, deploymentCPURequest, deploymentCPULimit, deploymentMemory, deploymentMemoryRequest, deploymentMemoryLimit, desiredPods, availablePods) return -1 as a sentinel when no data is available for that field.* @summary List Deployments for Infra Monitoring*/export const listDeployments = (@@ -468,7 +468,7 @@ export const useListHosts = <return useMutation(getListHostsMutationOptions(options));};/**- * Returns a paginated list of Kubernetes Jobs with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the job, plus average CPU/memory request and limit utilization (jobCPURequest, jobCPULimit, jobMemoryRequest, jobMemoryLimit). Each row also reports the latest known job-level counters from kube-state-metrics: desiredSuccessfulPods (k8s.job.desired_successful_pods, the target completion count), activePods (k8s.job.active_pods), failedPods (k8s.job.failed_pods, cumulative across the lifetime of the job), and successfulPods (k8s.job.successful_pods, cumulative). It also reports per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown } from each pod's latest k8s.pod.phase value); note podCountsByPhase.failed (current pod-phase) is distinct from failedPods (cumulative job kube-state-metric). Each job includes metadata attributes (k8s.job.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.job.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by jobs in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_successful_pods / active_pods / failed_pods / successful_pods, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (jobCPU, jobCPURequest, jobCPULimit, jobMemory, jobMemoryRequest, jobMemoryLimit, desiredSuccessfulPods, activePods, failedPods, successfulPods) return -1 as a sentinel when no data is available for that field.+ * Returns a paginated list of Kubernetes Jobs with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the job, plus average CPU/memory request and limit utilization (jobCPURequest, jobCPULimit, jobMemoryRequest, jobMemoryLimit). Each row also reports the latest known job-level counters from kube-state-metrics: desiredSuccessfulPods (k8s.job.desired_successful_pods, the target completion count), activePods (k8s.job.active_pods), failedPods (k8s.job.failed_pods, cumulative across the lifetime of the job), and successfulPods (k8s.job.successful_pods, cumulative). It also reports per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } reflecting each pod's latest kubectl-style display status); note podCountsByStatus.failed (current pod status) is distinct from failedPods (cumulative job kube-state-metric). Each job includes metadata attributes (k8s.job.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.job.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by jobs in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_successful_pods / active_pods / failed_pods / successful_pods, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (jobCPU, jobCPURequest, jobCPULimit, jobMemory, jobMemoryRequest, jobMemoryLimit, desiredSuccessfulPods, activePods, failedPods, successfulPods) return -1 as a sentinel when no data is available for that field.* @summary List Jobs for Infra Monitoring*/export const listJobs = (@@ -634,7 +634,7 @@ export const useListContainers = <return useMutation(getListContainersMutationOptions(options));};/**- * Returns a paginated list of Kubernetes namespaces with key aggregated pod metrics: CPU usage and memory working set (summed across pods in the group), plus per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown } from each pod's latest k8s.pod.phase value in the window). Each namespace includes metadata attributes (k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.namespace.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / memory, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (namespaceCPU, namespaceMemory) return -1 as a sentinel when no data is available for that field.+ * Returns a paginated list of Kubernetes namespaces with key aggregated pod metrics: CPU usage and memory working set (summed across pods in the group), plus per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } reflecting each pod's latest kubectl-style display status in the window). Each namespace includes metadata attributes (k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.namespace.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / memory, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (namespaceCPU, namespaceMemory) return -1 as a sentinel when no data is available for that field.* @summary List Namespaces for Infra Monitoring*/export const listNamespaces = (@@ -717,7 +717,7 @@ export const useListNamespaces = <return useMutation(getListNamespacesMutationOptions(options));};/**- * Returns a paginated list of Kubernetes nodes with key metrics: CPU usage, CPU allocatable, memory working set, memory allocatable, per-group nodeCountsByReadiness ({ ready, notReady } from each node's latest k8s.node.condition_ready in the window) and per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown } for pods scheduled on the listed nodes). Each node includes metadata attributes (k8s.node.uid, k8s.cluster.name). The response type is 'list' for the default k8s.node.name grouping (each row is one node with its current condition string: ready / not_ready / no_data) or 'grouped_list' for custom groupBy keys (each row aggregates nodes in the group; condition stays no_data). Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_allocatable / memory / memory_allocatable, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (nodeCPU, nodeCPUAllocatable, nodeMemory, nodeMemoryAllocatable) return -1 as a sentinel when no data is available for that field.+ * Returns a paginated list of Kubernetes nodes with key metrics: CPU usage, CPU allocatable, memory working set, memory allocatable, per-group nodeCountsByReadiness ({ ready, notReady } from each node's latest k8s.node.condition_ready in the window) and per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } for pods scheduled on the listed nodes, reflecting each pod's latest kubectl-style display status). Each node includes metadata attributes (k8s.node.uid, k8s.cluster.name). The response type is 'list' for the default k8s.node.name grouping (each row is one node with its current condition string: ready / not_ready / no_data) or 'grouped_list' for custom groupBy keys (each row aggregates nodes in the group; condition stays no_data). Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_allocatable / memory / memory_allocatable, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (nodeCPU, nodeCPUAllocatable, nodeMemory, nodeMemoryAllocatable) return -1 as a sentinel when no data is available for that field.* @summary List Nodes for Infra Monitoring*/export const listNodes = (@@ -800,7 +800,7 @@ export const useListNodes = <return useMutation(getListNodesMutationOptions(options));};/**- * Returns a paginated list of Kubernetes pods with key metrics: CPU usage, CPU request/limit utilization, memory working set, memory request/limit utilization, current pod phase (pending/running/succeeded/failed/unknown/no_data), and pod age (ms since start time). Each pod includes metadata attributes (namespace, node, workload owner such as deployment/statefulset/daemonset/job/cronjob, cluster). Supports filtering via a filter expression, custom groupBy to aggregate pods by any attribute, ordering by any of the six metrics (cpu, cpu_request, cpu_limit, memory, memory_request, memory_limit), and pagination via offset/limit. The response type is 'list' for the default k8s.pod.uid grouping (each row is one pod with its current phase) or 'grouped_list' for custom groupBy keys (each row aggregates pods in the group with per-phase counts under podCountsByPhase: { pending, running, succeeded, failed, unknown } derived from each pod's latest phase in the window). Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (podCPU, podCPURequest, podCPULimit, podMemory, podMemoryRequest, podMemoryLimit, podAge) return -1 as a sentinel when no data is available for that field.+ * Returns a paginated list of Kubernetes pods with key metrics: CPU usage, CPU request/limit utilization, memory working set, memory request/limit utilization, current pod status (kubectl-style display status such as Running/Pending/CrashLoopBackOff, or no_data), and pod age (ms since start time). Each pod includes metadata attributes (namespace, node, workload owner such as deployment/statefulset/daemonset/job/cronjob, cluster). Supports filtering via a filter expression, custom groupBy to aggregate pods by any attribute, ordering by any of the six metrics (cpu, cpu_request, cpu_limit, memory, memory_request, memory_limit), and pagination via offset/limit. The response type is 'list' for the default k8s.pod.uid grouping (each row is one pod with its current status) or 'grouped_list' for custom groupBy keys (each row aggregates pods in the group with per-status counts under podCountsByStatus: { pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } derived from each pod's latest kubectl-style display status in the window). Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (podCPU, podCPURequest, podCPULimit, podMemory, podMemoryRequest, podMemoryLimit, podAge) return -1 as a sentinel when no data is available for that field.* @summary List Pods for Infra Monitoring*/export const listPods = (@@ -966,7 +966,7 @@ export const useListVolumes = <return useMutation(getListVolumesMutationOptions(options));};/**- * Returns a paginated list of Kubernetes StatefulSets with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the statefulset, plus average CPU/memory request and limit utilization (statefulSetCPURequest, statefulSetCPULimit, statefulSetMemoryRequest, statefulSetMemoryLimit). Each row also reports the latest known desiredPods (k8s.statefulset.desired_pods) and currentPods (k8s.statefulset.current_pods) replica counts and per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown } from each pod's latest k8s.pod.phase value). Each statefulset includes metadata attributes (k8s.statefulset.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.statefulset.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by statefulsets in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_pods / current_pods, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (statefulSetCPU, statefulSetCPURequest, statefulSetCPULimit, statefulSetMemory, statefulSetMemoryRequest, statefulSetMemoryLimit, desiredPods, currentPods) return -1 as a sentinel when no data is available for that field.+ * Returns a paginated list of Kubernetes StatefulSets with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the statefulset, plus average CPU/memory request and limit utilization (statefulSetCPURequest, statefulSetCPULimit, statefulSetMemoryRequest, statefulSetMemoryLimit). Each row also reports the latest known desiredPods (k8s.statefulset.desired_pods) and currentPods (k8s.statefulset.current_pods) replica counts and per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } reflecting each pod's latest kubectl-style display status). Each statefulset includes metadata attributes (k8s.statefulset.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.statefulset.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by statefulsets in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_pods / current_pods, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (statefulSetCPU, statefulSetCPURequest, statefulSetCPULimit, statefulSetMemory, statefulSetMemoryRequest, statefulSetMemoryLimit, desiredPods, currentPods) return -1 as a sentinel when no data is available for that field.* @summary List StatefulSets for Infra Monitoring*/export const listStatefulSets = (diff --git a/frontend/src/api/generated/services/sigNoz.schemas.ts b/frontend/src/api/generated/services/sigNoz.schemas.tsindex bd77df6603..a4b98f371f 100644--- a/frontend/src/api/generated/services/sigNoz.schemas.ts+++ b/frontend/src/api/generated/services/sigNoz.schemas.ts@@ -5742,29 +5742,6 @@ export interface InframonitoringtypesNodeCountsByReadinessDTO {ready: number;}-export interface InframonitoringtypesPodCountsByPhaseDTO {- /**- * @type integer- */- failed: number;- /**- * @type integer- */- pending: number;- /**- * @type integer- */- running: number;- /**- * @type integer- */- succeeded: number;- /**- * @type integer- */- unknown: number;-}-export interface InframonitoringtypesPodCountsByStatusDTO {/*** @type integer@@ -5874,7 +5851,6 @@ export interface InframonitoringtypesClusterRecordDTO {*/meta: InframonitoringtypesClusterRecordDTOMeta;nodeCountsByReadiness: InframonitoringtypesNodeCountsByReadinessDTO;- podCountsByPhase: InframonitoringtypesPodCountsByPhaseDTO;podCountsByStatus: InframonitoringtypesPodCountsByStatusDTO;}@@ -6150,7 +6126,6 @@ export interface InframonitoringtypesDaemonSetRecordDTO {* @type integer*/misscheduledNodes: number;- podCountsByPhase: InframonitoringtypesPodCountsByPhaseDTO;podCountsByStatus: InframonitoringtypesPodCountsByStatusDTO;/*** @type integer@@ -6232,7 +6207,6 @@ export interface InframonitoringtypesDeploymentRecordDTO {* @type object,null*/meta: InframonitoringtypesDeploymentRecordDTOMeta;- podCountsByPhase: InframonitoringtypesPodCountsByPhaseDTO;podCountsByStatus: InframonitoringtypesPodCountsByStatusDTO;}@@ -6399,7 +6373,6 @@ export interface InframonitoringtypesJobRecordDTO {* @type object,null*/meta: InframonitoringtypesJobRecordDTOMeta;- podCountsByPhase: InframonitoringtypesPodCountsByPhaseDTO;podCountsByStatus: InframonitoringtypesPodCountsByStatusDTO;/*** @type integer@@ -6480,7 +6453,6 @@ export interface InframonitoringtypesNamespaceRecordDTO {* @type string*/namespaceName: string;- podCountsByPhase: InframonitoringtypesPodCountsByPhaseDTO;podCountsByStatus: InframonitoringtypesPodCountsByStatusDTO;}@@ -6547,7 +6519,6 @@ export interface InframonitoringtypesNodeRecordDTO {* @type string*/nodeName: string;- podCountsByPhase: InframonitoringtypesPodCountsByPhaseDTO;podCountsByStatus: InframonitoringtypesPodCountsByStatusDTO;}@@ -6568,14 +6539,6 @@ export interface InframonitoringtypesNodesDTO {warning?: Querybuildertypesv5QueryWarnDataDTO;}-export enum InframonitoringtypesPodPhaseDTO {- pending = 'pending',- running = 'running',- succeeded = 'succeeded',- failed = 'failed',- unknown = 'unknown',- no_data = 'no_data',-}export type InframonitoringtypesPodRecordDTOMetaAnyOf = {[key: string]: string;};@@ -6632,7 +6595,6 @@ export interface InframonitoringtypesPodRecordDTO {* @format double*/podCPURequest: number;- podCountsByPhase: InframonitoringtypesPodCountsByPhaseDTO;podCountsByStatus: InframonitoringtypesPodCountsByStatusDTO;/*** @type number@@ -6649,7 +6611,6 @@ export interface InframonitoringtypesPodRecordDTO {* @format double*/podMemoryRequest: number;- podPhase: InframonitoringtypesPodPhaseDTO;/*** @type integer* @format int64@@ -6999,7 +6960,6 @@ export interface InframonitoringtypesStatefulSetRecordDTO {* @type object,null*/meta: InframonitoringtypesStatefulSetRecordDTOMeta;- podCountsByPhase: InframonitoringtypesPodCountsByPhaseDTO;podCountsByStatus: InframonitoringtypesPodCountsByStatusDTO;/*** @type numberdiff --git a/pkg/apiserver/signozapiserver/inframonitoring.go b/pkg/apiserver/signozapiserver/inframonitoring.goindex e91424c5bc..a444b524d5 100644--- a/pkg/apiserver/signozapiserver/inframonitoring.go+++ b/pkg/apiserver/signozapiserver/inframonitoring.go@@ -35,7 +35,7 @@ func (provider *provider) addInfraMonitoringRoutes(router *mux.Router) error {ID: "ListPods",Tags: []string{"inframonitoring"},Summary: "List Pods for Infra Monitoring",- Description: "Returns a paginated list of Kubernetes pods with key metrics: CPU usage, CPU request/limit utilization, memory working set, memory request/limit utilization, current pod phase (pending/running/succeeded/failed/unknown/no_data), and pod age (ms since start time). Each pod includes metadata attributes (namespace, node, workload owner such as deployment/statefulset/daemonset/job/cronjob, cluster). Supports filtering via a filter expression, custom groupBy to aggregate pods by any attribute, ordering by any of the six metrics (cpu, cpu_request, cpu_limit, memory, memory_request, memory_limit), and pagination via offset/limit. The response type is 'list' for the default k8s.pod.uid grouping (each row is one pod with its current phase) or 'grouped_list' for custom groupBy keys (each row aggregates pods in the group with per-phase counts under podCountsByPhase: { pending, running, succeeded, failed, unknown } derived from each pod's latest phase in the window). Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (podCPU, podCPURequest, podCPULimit, podMemory, podMemoryRequest, podMemoryLimit, podAge) return -1 as a sentinel when no data is available for that field.",+ Description: "Returns a paginated list of Kubernetes pods with key metrics: CPU usage, CPU request/limit utilization, memory working set, memory request/limit utilization, current pod status (kubectl-style display status such as Running/Pending/CrashLoopBackOff, or no_data), and pod age (ms since start time). Each pod includes metadata attributes (namespace, node, workload owner such as deployment/statefulset/daemonset/job/cronjob, cluster). Supports filtering via a filter expression, custom groupBy to aggregate pods by any attribute, ordering by any of the six metrics (cpu, cpu_request, cpu_limit, memory, memory_request, memory_limit), and pagination via offset/limit. The response type is 'list' for the default k8s.pod.uid grouping (each row is one pod with its current status) or 'grouped_list' for custom groupBy keys (each row aggregates pods in the group with per-status counts under podCountsByStatus: { pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } derived from each pod's latest kubectl-style display status in the window). Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (podCPU, podCPURequest, podCPULimit, podMemory, podMemoryRequest, podMemoryLimit, podAge) return -1 as a sentinel when no data is available for that field.",Request: new(inframonitoringtypes.PostablePods),RequestContentType: "application/json",Response: new(inframonitoringtypes.Pods),@@ -73,7 +73,7 @@ func (provider *provider) addInfraMonitoringRoutes(router *mux.Router) error {ID: "ListNodes",Tags: []string{"inframonitoring"},Summary: "List Nodes for Infra Monitoring",- Description: "Returns a paginated list of Kubernetes nodes with key metrics: CPU usage, CPU allocatable, memory working set, memory allocatable, per-group nodeCountsByReadiness ({ ready, notReady } from each node's latest k8s.node.condition_ready in the window) and per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown } for pods scheduled on the listed nodes). Each node includes metadata attributes (k8s.node.uid, k8s.cluster.name). The response type is 'list' for the default k8s.node.name grouping (each row is one node with its current condition string: ready / not_ready / no_data) or 'grouped_list' for custom groupBy keys (each row aggregates nodes in the group; condition stays no_data). Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_allocatable / memory / memory_allocatable, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (nodeCPU, nodeCPUAllocatable, nodeMemory, nodeMemoryAllocatable) return -1 as a sentinel when no data is available for that field.",+ Description: "Returns a paginated list of Kubernetes nodes with key metrics: CPU usage, CPU allocatable, memory working set, memory allocatable, per-group nodeCountsByReadiness ({ ready, notReady } from each node's latest k8s.node.condition_ready in the window) and per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } for pods scheduled on the listed nodes, reflecting each pod's latest kubectl-style display status). Each node includes metadata attributes (k8s.node.uid, k8s.cluster.name). The response type is 'list' for the default k8s.node.name grouping (each row is one node with its current condition string: ready / not_ready / no_data) or 'grouped_list' for custom groupBy keys (each row aggregates nodes in the group; condition stays no_data). Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_allocatable / memory / memory_allocatable, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (nodeCPU, nodeCPUAllocatable, nodeMemory, nodeMemoryAllocatable) return -1 as a sentinel when no data is available for that field.",Request: new(inframonitoringtypes.PostableNodes),RequestContentType: "application/json",Response: new(inframonitoringtypes.Nodes),@@ -92,7 +92,7 @@ func (provider *provider) addInfraMonitoringRoutes(router *mux.Router) error {ID: "ListNamespaces",Tags: []string{"inframonitoring"},Summary: "List Namespaces for Infra Monitoring",- Description: "Returns a paginated list of Kubernetes namespaces with key aggregated pod metrics: CPU usage and memory working set (summed across pods in the group), plus per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown } from each pod's latest k8s.pod.phase value in the window). Each namespace includes metadata attributes (k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.namespace.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / memory, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (namespaceCPU, namespaceMemory) return -1 as a sentinel when no data is available for that field.",+ Description: "Returns a paginated list of Kubernetes namespaces with key aggregated pod metrics: CPU usage and memory working set (summed across pods in the group), plus per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } reflecting each pod's latest kubectl-style display status in the window). Each namespace includes metadata attributes (k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.namespace.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / memory, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (namespaceCPU, namespaceMemory) return -1 as a sentinel when no data is available for that field.",Request: new(inframonitoringtypes.PostableNamespaces),RequestContentType: "application/json",Response: new(inframonitoringtypes.Namespaces),@@ -111,7 +111,7 @@ func (provider *provider) addInfraMonitoringRoutes(router *mux.Router) error {ID: "ListClusters",Tags: []string{"inframonitoring"},Summary: "List Clusters for Infra Monitoring",- Description: "Returns a paginated list of Kubernetes clusters with key aggregated metrics derived by summing per-node values within the group: CPU usage, CPU allocatable, memory working set, memory allocatable. Each row also reports per-group nodeCountsByReadiness ({ ready, notReady } from each node's latest k8s.node.condition_ready value) and per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown } from each pod's latest k8s.pod.phase value). Each cluster includes metadata attributes (k8s.cluster.name). The response type is 'list' for the default k8s.cluster.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates nodes and pods in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_allocatable / memory / memory_allocatable, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (clusterCPU, clusterCPUAllocatable, clusterMemory, clusterMemoryAllocatable) return -1 as a sentinel when no data is available for that field.",+ Description: "Returns a paginated list of Kubernetes clusters with key aggregated metrics derived by summing per-node values within the group: CPU usage, CPU allocatable, memory working set, memory allocatable. Each row also reports per-group nodeCountsByReadiness ({ ready, notReady } from each node's latest k8s.node.condition_ready value) and per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } reflecting each pod's latest kubectl-style display status). Each cluster includes metadata attributes (k8s.cluster.name). The response type is 'list' for the default k8s.cluster.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates nodes and pods in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_allocatable / memory / memory_allocatable, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (clusterCPU, clusterCPUAllocatable, clusterMemory, clusterMemoryAllocatable) return -1 as a sentinel when no data is available for that field.",Request: new(inframonitoringtypes.PostableClusters),RequestContentType: "application/json",Response: new(inframonitoringtypes.Clusters),@@ -149,7 +149,7 @@ func (provider *provider) addInfraMonitoringRoutes(router *mux.Router) error {ID: "ListDeployments",Tags: []string{"inframonitoring"},Summary: "List Deployments for Infra Monitoring",- Description: "Returns a paginated list of Kubernetes Deployments with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the deployment, plus average CPU/memory request and limit utilization (deploymentCPURequest, deploymentCPULimit, deploymentMemoryRequest, deploymentMemoryLimit). Each row also reports the latest known desiredPods (k8s.deployment.desired) and availablePods (k8s.deployment.available) replica counts and per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown } from each pod's latest k8s.pod.phase value). Each deployment includes metadata attributes (k8s.deployment.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.deployment.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by deployments in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_pods / available_pods, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (deploymentCPU, deploymentCPURequest, deploymentCPULimit, deploymentMemory, deploymentMemoryRequest, deploymentMemoryLimit, desiredPods, availablePods) return -1 as a sentinel when no data is available for that field.",+ Description: "Returns a paginated list of Kubernetes Deployments with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the deployment, plus average CPU/memory request and limit utilization (deploymentCPURequest, deploymentCPULimit, deploymentMemoryRequest, deploymentMemoryLimit). Each row also reports the latest known desiredPods (k8s.deployment.desired) and availablePods (k8s.deployment.available) replica counts and per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } reflecting each pod's latest kubectl-style display status). Each deployment includes metadata attributes (k8s.deployment.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.deployment.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by deployments in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_pods / available_pods, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (deploymentCPU, deploymentCPURequest, deploymentCPULimit, deploymentMemory, deploymentMemoryRequest, deploymentMemoryLimit, desiredPods, availablePods) return -1 as a sentinel when no data is available for that field.",Request: new(inframonitoringtypes.PostableDeployments),RequestContentType: "application/json",Response: new(inframonitoringtypes.Deployments),@@ -168,7 +168,7 @@ func (provider *provider) addInfraMonitoringRoutes(router *mux.Router) error {ID: "ListStatefulSets",Tags: []string{"inframonitoring"},Summary: "List StatefulSets for Infra Monitoring",- Description: "Returns a paginated list of Kubernetes StatefulSets with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the statefulset, plus average CPU/memory request and limit utilization (statefulSetCPURequest, statefulSetCPULimit, statefulSetMemoryRequest, statefulSetMemoryLimit). Each row also reports the latest known desiredPods (k8s.statefulset.desired_pods) and currentPods (k8s.statefulset.current_pods) replica counts and per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown } from each pod's latest k8s.pod.phase value). Each statefulset includes metadata attributes (k8s.statefulset.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.statefulset.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by statefulsets in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_pods / current_pods, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (statefulSetCPU, statefulSetCPURequest, statefulSetCPULimit, statefulSetMemory, statefulSetMemoryRequest, statefulSetMemoryLimit, desiredPods, currentPods) return -1 as a sentinel when no data is available for that field.",+ Description: "Returns a paginated list of Kubernetes StatefulSets with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the statefulset, plus average CPU/memory request and limit utilization (statefulSetCPURequest, statefulSetCPULimit, statefulSetMemoryRequest, statefulSetMemoryLimit). Each row also reports the latest known desiredPods (k8s.statefulset.desired_pods) and currentPods (k8s.statefulset.current_pods) replica counts and per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } reflecting each pod's latest kubectl-style display status). Each statefulset includes metadata attributes (k8s.statefulset.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.statefulset.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by statefulsets in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_pods / current_pods, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (statefulSetCPU, statefulSetCPURequest, statefulSetCPULimit, statefulSetMemory, statefulSetMemoryRequest, statefulSetMemoryLimit, desiredPods, currentPods) return -1 as a sentinel when no data is available for that field.",Request: new(inframonitoringtypes.PostableStatefulSets),RequestContentType: "application/json",Response: new(inframonitoringtypes.StatefulSets),@@ -187,7 +187,7 @@ func (provider *provider) addInfraMonitoringRoutes(router *mux.Router) error {ID: "ListJobs",Tags: []string{"inframonitoring"},Summary: "List Jobs for Infra Monitoring",- Description: "Returns a paginated list of Kubernetes Jobs with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the job, plus average CPU/memory request and limit utilization (jobCPURequest, jobCPULimit, jobMemoryRequest, jobMemoryLimit). Each row also reports the latest known job-level counters from kube-state-metrics: desiredSuccessfulPods (k8s.job.desired_successful_pods, the target completion count), activePods (k8s.job.active_pods), failedPods (k8s.job.failed_pods, cumulative across the lifetime of the job), and successfulPods (k8s.job.successful_pods, cumulative). It also reports per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown } from each pod's latest k8s.pod.phase value); note podCountsByPhase.failed (current pod-phase) is distinct from failedPods (cumulative job kube-state-metric). Each job includes metadata attributes (k8s.job.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.job.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by jobs in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_successful_pods / active_pods / failed_pods / successful_pods, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (jobCPU, jobCPURequest, jobCPULimit, jobMemory, jobMemoryRequest, jobMemoryLimit, desiredSuccessfulPods, activePods, failedPods, successfulPods) return -1 as a sentinel when no data is available for that field.",+ Description: "Returns a paginated list of Kubernetes Jobs with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the job, plus average CPU/memory request and limit utilization (jobCPURequest, jobCPULimit, jobMemoryRequest, jobMemoryLimit). Each row also reports the latest known job-level counters from kube-state-metrics: desiredSuccessfulPods (k8s.job.desired_successful_pods, the target completion count), activePods (k8s.job.active_pods), failedPods (k8s.job.failed_pods, cumulative across the lifetime of the job), and successfulPods (k8s.job.successful_pods, cumulative). It also reports per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } reflecting each pod's latest kubectl-style display status); note podCountsByStatus.failed (current pod status) is distinct from failedPods (cumulative job kube-state-metric). Each job includes metadata attributes (k8s.job.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.job.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by jobs in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_successful_pods / active_pods / failed_pods / successful_pods, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (jobCPU, jobCPURequest, jobCPULimit, jobMemory, jobMemoryRequest, jobMemoryLimit, desiredSuccessfulPods, activePods, failedPods, successfulPods) return -1 as a sentinel when no data is available for that field.",Request: new(inframonitoringtypes.PostableJobs),RequestContentType: "application/json",Response: new(inframonitoringtypes.Jobs),@@ -206,7 +206,7 @@ func (provider *provider) addInfraMonitoringRoutes(router *mux.Router) error {ID: "ListDaemonSets",Tags: []string{"inframonitoring"},Summary: "List DaemonSets for Infra Monitoring",- Description: "Returns a paginated list of Kubernetes DaemonSets with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the daemonset, plus average CPU/memory request and limit utilization (daemonSetCPURequest, daemonSetCPULimit, daemonSetMemoryRequest, daemonSetMemoryLimit). Each row also reports the latest known node-level counters from kube-state-metrics: desiredNodes (k8s.daemonset.desired_scheduled_nodes, the number of nodes the daemonset wants to run on), currentNodes (k8s.daemonset.current_scheduled_nodes, the number of nodes the daemonset currently runs on), readyNodes (k8s.daemonset.ready_nodes, the number of nodes running at least one ready daemon pod) and misscheduledNodes (k8s.daemonset.misscheduled_nodes, the number of nodes running the daemon pod but not supposed to) — note these are node counts, not pod counts. It also reports per-group podCountsByPhase ({ pending, running, succeeded, failed, unknown } from each pod's latest k8s.pod.phase value). Each daemonset includes metadata attributes (k8s.daemonset.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.daemonset.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by daemonsets in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_nodes / current_nodes / ready_nodes / misscheduled_nodes, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (daemonSetCPU, daemonSetCPURequest, daemonSetCPULimit, daemonSetMemory, daemonSetMemoryRequest, daemonSetMemoryLimit, desiredNodes, currentNodes, readyNodes, misscheduledNodes) return -1 as a sentinel when no data is available for that field.",+ Description: "Returns a paginated list of Kubernetes DaemonSets with key aggregated pod metrics: CPU usage and memory working set summed across pods owned by the daemonset, plus average CPU/memory request and limit utilization (daemonSetCPURequest, daemonSetCPULimit, daemonSetMemoryRequest, daemonSetMemoryLimit). Each row also reports the latest known node-level counters from kube-state-metrics: desiredNodes (k8s.daemonset.desired_scheduled_nodes, the number of nodes the daemonset wants to run on), currentNodes (k8s.daemonset.current_scheduled_nodes, the number of nodes the daemonset currently runs on), readyNodes (k8s.daemonset.ready_nodes, the number of nodes running at least one ready daemon pod) and misscheduledNodes (k8s.daemonset.misscheduled_nodes, the number of nodes running the daemon pod but not supposed to) — note these are node counts, not pod counts. It also reports per-group podCountsByStatus ({ pending, running, failed, unknown, crashLoopBackOff, imagePullBackOff, errImagePull, createContainerConfigError, containerCreating, oomKilled, completed, error, containerCannotRun, evicted, nodeAffinity, nodeLost, shutdown, unexpectedAdmissionError } reflecting each pod's latest kubectl-style display status). Each daemonset includes metadata attributes (k8s.daemonset.name, k8s.namespace.name, k8s.cluster.name). The response type is 'list' for the default k8s.daemonset.name grouping or 'grouped_list' for custom groupBy keys; in both modes every row aggregates pods owned by daemonsets in the group. Supports filtering via a filter expression, custom groupBy, ordering by cpu / cpu_request / cpu_limit / memory / memory_request / memory_limit / desired_nodes / current_nodes / ready_nodes / misscheduled_nodes, and pagination via offset/limit. Also reports whether the requested time range falls before the data retention boundary. Numeric metric fields (daemonSetCPU, daemonSetCPURequest, daemonSetCPULimit, daemonSetMemory, daemonSetMemoryRequest, daemonSetMemoryLimit, desiredNodes, currentNodes, readyNodes, misscheduledNodes) return -1 as a sentinel when no data is available for that field.",Request: new(inframonitoringtypes.PostableDaemonSets),RequestContentType: "application/json",Response: new(inframonitoringtypes.DaemonSets),diff --git a/pkg/modules/inframonitoring/implinframonitoring/clusters.go b/pkg/modules/inframonitoring/implinframonitoring/clusters.goindex 44c1eaa502..272e51b7bf 100644--- a/pkg/modules/inframonitoring/implinframonitoring/clusters.go+++ b/pkg/modules/inframonitoring/implinframonitoring/clusters.go@@ -10,16 +10,14 @@ import ()// buildClusterRecords assembles the page records. Node condition counts and-// pod phase counts come from the respective per-group maps in both modes;-// every row is a group of nodes+pods, so there's no per-row "current state"-// concept (analogous to namespaces).+// pod status counts come from the respective per-group maps in both modes;+// every row is a group of nodes+pods (analogous to namespaces).func buildClusterRecords(resp *qbtypes.QueryRangeResponse,pageGroups []map[string]string,groupBy []qbtypes.GroupByKey,metadataMap map[string]map[string]string,nodeConditionCountsMap map[string]nodeConditionCounts,- podPhaseCountsMap map[string]podPhaseCounts,podStatusCounts map[string]podStatusCounts,resourceCounts map[string]map[string]int64,) []inframonitoringtypes.ClusterRecord {@@ -61,16 +59,6 @@ func buildClusterRecords(}}- if phaseCountsForGroup, ok := podPhaseCountsMap[compositeKey]; ok {- record.PodCountsByPhase = inframonitoringtypes.PodCountsByPhase{- Pending: phaseCountsForGroup.Pending,- Running: phaseCountsForGroup.Running,- Succeeded: phaseCountsForGroup.Succeeded,- Failed: phaseCountsForGroup.Failed,- Unknown: phaseCountsForGroup.Unknown,- }- }-if podStatusCountsForGroup, ok := podStatusCounts[compositeKey]; ok {record.PodCountsByStatus = podStatusCountsToResponse(podStatusCountsForGroup)}diff --git a/pkg/modules/inframonitoring/implinframonitoring/clusters_constants.go b/pkg/modules/inframonitoring/implinframonitoring/clusters_constants.goindex 7908ac7372..787a1ba60b 100644--- a/pkg/modules/inframonitoring/implinframonitoring/clusters_constants.go+++ b/pkg/modules/inframonitoring/implinframonitoring/clusters_constants.go@@ -19,7 +19,7 @@ var clusterNameGroupByKey = qbtypes.GroupByKey{// Includes k8s.node.condition_ready and k8s.pod.phase so the response// short-circuits cleanly when a cluster doesn't ship those metrics — even// though they aren't part of the QB composite query (they're queried separately-// via getPerGroupNodeConditionCounts and getPerGroupPodPhaseCounts).+// via getPerGroupNodeConditionCounts and getPerGroupPodStatusCounts).var clustersTableMetricNamesList = []string{"k8s.node.cpu.usage","k8s.node.allocatable_cpu",@@ -98,9 +98,9 @@ var orderByToClustersQueryNames = map[string][]string{// newClustersTableListQuery builds the composite QB v5 request for the clusters list.// Cluster-scope metrics are derived by summing per-node metrics within the-// group (default group: k8s.cluster.name). Node condition counts and pod phase+// group (default group: k8s.cluster.name). Node condition counts and pod status// counts are derived separately via getPerGroupNodeConditionCounts and-// getPerGroupPodPhaseCounts respectively (works for both list and grouped_list+// getPerGroupPodStatusCounts respectively (works for both list and grouped_list// modes), so neither is included here. Query letters A/B/C/D mirror the v1// implementation and the v2 nodes list.func (m *module) newClustersTableListQuery() *qbtypes.QueryRangeRequest {diff --git a/pkg/modules/inframonitoring/implinframonitoring/daemonsets.go b/pkg/modules/inframonitoring/implinframonitoring/daemonsets.goindex 2321889def..abec92e1aa 100644--- a/pkg/modules/inframonitoring/implinframonitoring/daemonsets.go+++ b/pkg/modules/inframonitoring/implinframonitoring/daemonsets.go@@ -9,16 +9,14 @@ import ("github.com/SigNoz/signoz/pkg/valuer")-// buildDaemonSetRecords assembles the page records. Pod phase counts come from-// phaseCounts in both modes; every row is a group of pods (one daemonset in-// list mode, an arbitrary roll-up in grouped_list mode), so there's no-// per-row "current phase" concept.+// buildDaemonSetRecords assembles the page records. Pod status counts come from+// podStatusCounts in both modes; every row is a group of pods (one daemonset in+// list mode, an arbitrary roll-up in grouped_list mode).func buildDaemonSetRecords(resp *qbtypes.QueryRangeResponse,pageGroups []map[string]string,groupBy []qbtypes.GroupByKey,metadataMap map[string]map[string]string,- phaseCounts map[string]podPhaseCounts,podStatusCounts map[string]podStatusCounts,) []inframonitoringtypes.DaemonSetRecord {metricsMap := parseFullQueryResponse(resp, groupBy)@@ -76,16 +74,6 @@ func buildDaemonSetRecords(}}- if phaseCountsForGroup, ok := phaseCounts[compositeKey]; ok {- record.PodCountsByPhase = inframonitoringtypes.PodCountsByPhase{- Pending: phaseCountsForGroup.Pending,- Running: phaseCountsForGroup.Running,- Succeeded: phaseCountsForGroup.Succeeded,- Failed: phaseCountsForGroup.Failed,- Unknown: phaseCountsForGroup.Unknown,- }- }-if podStatusCountsForGroup, ok := podStatusCounts[compositeKey]; ok {record.PodCountsByStatus = podStatusCountsToResponse(podStatusCountsForGroup)}diff --git a/pkg/modules/inframonitoring/implinframonitoring/daemonsets_constants.go b/pkg/modules/inframonitoring/implinframonitoring/daemonsets_constants.goindex 7311e0dbca..3c257f72f3 100644--- a/pkg/modules/inframonitoring/implinframonitoring/daemonsets_constants.go+++ b/pkg/modules/inframonitoring/implinframonitoring/daemonsets_constants.go@@ -19,7 +19,7 @@ var daemonSetNameGroupByKey = qbtypes.GroupByKey{// daemonSetsTableMetricNamesList drives the existence/retention check.// Includes k8s.pod.phase even though phase isn't part of the QB composite query —-// it is queried separately via getPerGroupPodPhaseCounts, and we want the+// it is queried separately via getPerGroupPodStatusCounts, and we want the// response to short-circuit cleanly when the phase metric is absent.var daemonSetsTableMetricNamesList = []string{"k8s.pod.phase",diff --git a/pkg/modules/inframonitoring/implinframonitoring/deployments.go b/pkg/modules/inframonitoring/implinframonitoring/deployments.goindex 5d17c7e500..687aaa49f3 100644--- a/pkg/modules/inframonitoring/implinframonitoring/deployments.go+++ b/pkg/modules/inframonitoring/implinframonitoring/deployments.go@@ -9,16 +9,14 @@ import ("github.com/SigNoz/signoz/pkg/valuer")-// buildDeploymentRecords assembles the page records. Pod phase counts come from-// phaseCounts in both modes; every row is a group of pods (one deployment in-// list mode, an arbitrary roll-up in grouped_list mode), so there's no-// per-row "current phase" concept.+// buildDeploymentRecords assembles the page records. Pod status counts come from+// podStatusCounts in both modes; every row is a group of pods (one deployment in+// list mode, an arbitrary roll-up in grouped_list mode).func buildDeploymentRecords(resp *qbtypes.QueryRangeResponse,pageGroups []map[string]string,groupBy []qbtypes.GroupByKey,metadataMap map[string]map[string]string,- phaseCounts map[string]podPhaseCounts,podStatusCounts map[string]podStatusCounts,) []inframonitoringtypes.DeploymentRecord {metricsMap := parseFullQueryResponse(resp, groupBy)@@ -68,16 +66,6 @@ func buildDeploymentRecords(}}- if phaseCountsForGroup, ok := phaseCounts[compositeKey]; ok {- record.PodCountsByPhase = inframonitoringtypes.PodCountsByPhase{- Pending: phaseCountsForGroup.Pending,- Running: phaseCountsForGroup.Running,- Succeeded: phaseCountsForGroup.Succeeded,- Failed: phaseCountsForGroup.Failed,- Unknown: phaseCountsForGroup.Unknown,- }- }-if podStatusCountsForGroup, ok := podStatusCounts[compositeKey]; ok {record.PodCountsByStatus = podStatusCountsToResponse(podStatusCountsForGroup)}diff --git a/pkg/modules/inframonitoring/implinframonitoring/deployments_constants.go b/pkg/modules/inframonitoring/implinframonitoring/deployments_constants.goindex 22a7160bba..753b45d0da 100644--- a/pkg/modules/inframonitoring/implinframonitoring/deployments_constants.go+++ b/pkg/modules/inframonitoring/implinframonitoring/deployments_constants.go@@ -19,7 +19,7 @@ var deploymentNameGroupByKey = qbtypes.GroupByKey{// deploymentsTableMetricNamesList drives the existence/retention check.// Includes k8s.pod.phase even though phase isn't part of the QB composite query —-// it is queried separately via getPerGroupPodPhaseCounts, and we want the+// it is queried separately via getPerGroupPodStatusCounts, and we want the// response to short-circuit cleanly when the phase metric is absent.var deploymentsTableMetricNamesList = []string{"k8s.pod.phase",diff --git a/pkg/modules/inframonitoring/implinframonitoring/internaltypes.go b/pkg/modules/inframonitoring/implinframonitoring/internaltypes.goindex a00b367b08..90d3180124 100644--- a/pkg/modules/inframonitoring/implinframonitoring/internaltypes.go+++ b/pkg/modules/inframonitoring/implinframonitoring/internaltypes.go@@ -17,15 +17,6 @@ type groupHostStatusCounts struct {Inactive int}-// podPhaseCounts holds per-group pod counts bucketed by latest phase in window.-type podPhaseCounts struct {- Pending int- Running int- Succeeded int- Failed int- Unknown int-}-// podStatusCounts holds per-group pod counts bucketed by latest kubectl-style// display status in window. Mirrors inframonitoringtypes.PodCountsByStatus.type podStatusCounts struct {diff --git a/pkg/modules/inframonitoring/implinframonitoring/jobs.go b/pkg/modules/inframonitoring/implinframonitoring/jobs.goindex 0464318914..6a97a36975 100644--- a/pkg/modules/inframonitoring/implinframonitoring/jobs.go+++ b/pkg/modules/inframonitoring/implinframonitoring/jobs.go@@ -9,16 +9,14 @@ import ("github.com/SigNoz/signoz/pkg/valuer")-// buildJobRecords assembles the page records. Pod phase counts come from-// phaseCounts in both modes; every row is a group of pods (one job in-// list mode, an arbitrary roll-up in grouped_list mode), so there's no-// per-row "current phase" concept.+// buildJobRecords assembles the page records. Pod status counts come from+// podStatusCounts in both modes; every row is a group of pods (one job in+// list mode, an arbitrary roll-up in grouped_list mode).func buildJobRecords(resp *qbtypes.QueryRangeResponse,pageGroups []map[string]string,groupBy []qbtypes.GroupByKey,metadataMap map[string]map[string]string,- phaseCounts map[string]podPhaseCounts,podStatusCounts map[string]podStatusCounts,) []inframonitoringtypes.JobRecord {metricsMap := parseFullQueryResponse(resp, groupBy)@@ -76,16 +74,6 @@ func buildJobRecords(}}- if phaseCountsForGroup, ok := phaseCounts[compositeKey]; ok {- record.PodCountsByPhase = inframonitoringtypes.PodCountsByPhase{- Pending: phaseCountsForGroup.Pending,- Running: phaseCountsForGroup.Running,- Succeeded: phaseCountsForGroup.Succeeded,- Failed: phaseCountsForGroup.Failed,- Unknown: phaseCountsForGroup.Unknown,- }- }-if podStatusCountsForGroup, ok := podStatusCounts[compositeKey]; ok {record.PodCountsByStatus = podStatusCountsToResponse(podStatusCountsForGroup)}diff --git a/pkg/modules/inframonitoring/implinframonitoring/jobs_constants.go b/pkg/modules/inframonitoring/implinframonitoring/jobs_constants.goindex 6e8b4668e6..3f40bd4612 100644--- a/pkg/modules/inframonitoring/implinframonitoring/jobs_constants.go+++ b/pkg/modules/inframonitoring/implinframonitoring/jobs_constants.go@@ -19,7 +19,7 @@ var jobNameGroupByKey = qbtypes.GroupByKey{// jobsTableMetricNamesList drives the existence/retention check.// Includes k8s.pod.phase even though phase isn't part of the QB composite query —-// it is queried separately via getPerGroupPodPhaseCounts, and we want the+// it is queried separately via getPerGroupPodStatusCounts, and we want the// response to short-circuit cleanly when the phase metric is absent.var jobsTableMetricNamesList = []string{"k8s.pod.phase",diff --git a/pkg/modules/inframonitoring/implinframonitoring/module.go b/pkg/modules/inframonitoring/implinframonitoring/module.goindex 6fb44222af..de04f320b3 100644--- a/pkg/modules/inframonitoring/implinframonitoring/module.go+++ b/pkg/modules/inframonitoring/implinframonitoring/module.go@@ -317,7 +317,6 @@ func (m *module) ListPods(ctx context.Context, orgID valuer.UUID, req *inframonivar (queryResp *qbtypes.QueryRangeResponse- phaseCounts map[string]podPhaseCountsstatusCounts map[string]podStatusCountsstatusWarning *qbtypes.QueryWarnDatarestartCounts map[string]int64@@ -330,11 +329,6 @@ func (m *module) ListPods(ctx context.Context, orgID valuer.UUID, req *inframoniqueryResp, err = m.querier.QueryRange(gCtx, orgID, fullQueryReq)return err})- g.Go(func() error {- var err error- phaseCounts, err = m.getPerGroupPodPhaseCounts(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)- return err- })g.Go(func() error {var err errorstatusCounts, statusWarning, err = m.getPerGroupPodStatusCountsWithReqMetricChecks(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)@@ -351,7 +345,7 @@ func (m *module) ListPods(ctx context.Context, orgID valuer.UUID, req *inframoni}isPodUIDInGroupBy := isKeyInGroupByAttrs(req.GroupBy, podUIDAttrKey)- resp.Records = buildPodRecords(isPodUIDInGroupBy, queryResp, pageGroups, req.GroupBy, metadataMap, phaseCounts, statusCounts, restartCounts, req.End)+ resp.Records = buildPodRecords(isPodUIDInGroupBy, queryResp, pageGroups, req.GroupBy, metadataMap, statusCounts, restartCounts, req.End)resp.Warning = mergeQueryWarnings(queryResp.Warning, statusWarning)return resp, nil@@ -526,7 +520,6 @@ func (m *module) ListNodes(ctx context.Context, orgID valuer.UUID, req *inframonvar (queryResp *qbtypes.QueryRangeResponsenodeConditionCounts map[string]nodeConditionCounts- podPhaseCounts map[string]podPhaseCountspodStatusCounts map[string]podStatusCountspodStatusWarning *qbtypes.QueryWarnData)@@ -543,11 +536,6 @@ func (m *module) ListNodes(ctx context.Context, orgID valuer.UUID, req *inframonnodeConditionCounts, err = m.getPerGroupNodeConditionCounts(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)return err})- g.Go(func() error {- var err error- podPhaseCounts, err = m.getPerGroupPodPhaseCounts(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)- return err- })g.Go(func() error {var err errorpodStatusCounts, podStatusWarning, err = m.getPerGroupPodStatusCountsWithReqMetricChecks(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)@@ -559,7 +547,7 @@ func (m *module) ListNodes(ctx context.Context, orgID valuer.UUID, req *inframon}isNodeNameInGroupBy := isKeyInGroupByAttrs(req.GroupBy, inframonitoringtypes.NodeNameAttrKey)- resp.Records = buildNodeRecords(isNodeNameInGroupBy, queryResp, pageGroups, req.GroupBy, metadataMap, nodeConditionCounts, podPhaseCounts, podStatusCounts)+ resp.Records = buildNodeRecords(isNodeNameInGroupBy, queryResp, pageGroups, req.GroupBy, metadataMap, nodeConditionCounts, podStatusCounts)resp.Warning = mergeQueryWarnings(queryResp.Warning, podStatusWarning)return resp, nil@@ -629,7 +617,6 @@ func (m *module) ListNamespaces(ctx context.Context, orgID valuer.UUID, req *infvar (queryResp *qbtypes.QueryRangeResponse- phaseCounts map[string]podPhaseCountspodStatusCounts map[string]podStatusCountspodStatusWarning *qbtypes.QueryWarnDataresourceCounts map[string]map[string]int64@@ -642,11 +629,6 @@ func (m *module) ListNamespaces(ctx context.Context, orgID valuer.UUID, req *infqueryResp, err = m.querier.QueryRange(gCtx, orgID, fullQueryReq)return err})- g.Go(func() error {- var err error- phaseCounts, err = m.getPerGroupPodPhaseCounts(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)- return err- })g.Go(func() error {var err errorpodStatusCounts, podStatusWarning, err = m.getPerGroupPodStatusCountsWithReqMetricChecks(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)@@ -662,7 +644,7 @@ func (m *module) ListNamespaces(ctx context.Context, orgID valuer.UUID, req *infreturn nil, err}- resp.Records = buildNamespaceRecords(queryResp, pageGroups, req.GroupBy, metadataMap, phaseCounts, podStatusCounts, resourceCounts)+ resp.Records = buildNamespaceRecords(queryResp, pageGroups, req.GroupBy, metadataMap, podStatusCounts, resourceCounts)resp.Warning = mergeQueryWarnings(queryResp.Warning, podStatusWarning)return resp, nil@@ -735,7 +717,6 @@ func (m *module) ListClusters(ctx context.Context, orgID valuer.UUID, req *infravar (queryResp *qbtypes.QueryRangeResponsenodeConditionCountsMap map[string]nodeConditionCounts- podPhaseCountsMap map[string]podPhaseCountspodStatusCounts map[string]podStatusCountspodStatusWarning *qbtypes.QueryWarnDataresourceCounts map[string]map[string]int64@@ -753,11 +734,6 @@ func (m *module) ListClusters(ctx context.Context, orgID valuer.UUID, req *infranodeConditionCountsMap, err = m.getPerGroupNodeConditionCounts(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)return err})- g.Go(func() error {- var err error- podPhaseCountsMap, err = m.getPerGroupPodPhaseCounts(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)- return err- })g.Go(func() error {var err errorpodStatusCounts, podStatusWarning, err = m.getPerGroupPodStatusCountsWithReqMetricChecks(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)@@ -773,7 +749,7 @@ func (m *module) ListClusters(ctx context.Context, orgID valuer.UUID, req *infrareturn nil, err}- resp.Records = buildClusterRecords(queryResp, pageGroups, req.GroupBy, metadataMap, nodeConditionCountsMap, podPhaseCountsMap, podStatusCounts, resourceCounts)+ resp.Records = buildClusterRecords(queryResp, pageGroups, req.GroupBy, metadataMap, nodeConditionCountsMap, podStatusCounts, resourceCounts)resp.Warning = mergeQueryWarnings(queryResp.Warning, podStatusWarning)return resp, nil@@ -927,7 +903,6 @@ func (m *module) ListDeployments(ctx context.Context, orgID valuer.UUID, req *invar (queryResp *qbtypes.QueryRangeResponse- phaseCounts map[string]podPhaseCountspodStatusCounts map[string]podStatusCountspodStatusWarning *qbtypes.QueryWarnData)@@ -939,11 +914,6 @@ func (m *module) ListDeployments(ctx context.Context, orgID valuer.UUID, req *inqueryResp, err = m.querier.QueryRange(gCtx, orgID, fullQueryReq)return err})- g.Go(func() error {- var err error- phaseCounts, err = m.getPerGroupPodPhaseCounts(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)- return err- })g.Go(func() error {var err errorpodStatusCounts, podStatusWarning, err = m.getPerGroupPodStatusCountsWithReqMetricChecks(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)@@ -954,7 +924,7 @@ func (m *module) ListDeployments(ctx context.Context, orgID valuer.UUID, req *inreturn nil, err}- resp.Records = buildDeploymentRecords(queryResp, pageGroups, req.GroupBy, metadataMap, phaseCounts, podStatusCounts)+ resp.Records = buildDeploymentRecords(queryResp, pageGroups, req.GroupBy, metadataMap, podStatusCounts)resp.Warning = mergeQueryWarnings(queryResp.Warning, podStatusWarning)return resp, nil@@ -1029,10 +999,9 @@ func (m *module) ListStatefulSets(ctx context.Context, orgID valuer.UUID, req *ifullQueryReq := buildFullQueryRequest(req.Start, req.End, filterExpr, req.GroupBy, pageGroups, m.newStatefulSetsTableListQuery())// Pods owned by a StatefulSet carry k8s.statefulset.name as a resource attribute,- // so default-groupBy gives per-statefulset phase counts automatically.+ // so default-groupBy gives per-statefulset status counts automatically.var (queryResp *qbtypes.QueryRangeResponse- phaseCounts map[string]podPhaseCountspodStatusCounts map[string]podStatusCountspodStatusWarning *qbtypes.QueryWarnData)@@ -1044,11 +1013,6 @@ func (m *module) ListStatefulSets(ctx context.Context, orgID valuer.UUID, req *iqueryResp, err = m.querier.QueryRange(gCtx, orgID, fullQueryReq)return err})- g.Go(func() error {- var err error- phaseCounts, err = m.getPerGroupPodPhaseCounts(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)- return err- })g.Go(func() error {var err errorpodStatusCounts, podStatusWarning, err = m.getPerGroupPodStatusCountsWithReqMetricChecks(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)@@ -1059,7 +1023,7 @@ func (m *module) ListStatefulSets(ctx context.Context, orgID valuer.UUID, req *ireturn nil, err}- resp.Records = buildStatefulSetRecords(queryResp, pageGroups, req.GroupBy, metadataMap, phaseCounts, podStatusCounts)+ resp.Records = buildStatefulSetRecords(queryResp, pageGroups, req.GroupBy, metadataMap, podStatusCounts)resp.Warning = mergeQueryWarnings(queryResp.Warning, podStatusWarning)return resp, nil@@ -1134,10 +1098,9 @@ func (m *module) ListJobs(ctx context.Context, orgID valuer.UUID, req *inframonifullQueryReq := buildFullQueryRequest(req.Start, req.End, filterExpr, req.GroupBy, pageGroups, m.newJobsTableListQuery())// Pods owned by a Job carry k8s.job.name as a resource attribute, so default-groupBy- // gives per-job phase counts automatically.+ // gives per-job status counts automatically.var (queryResp *qbtypes.QueryRangeResponse- phaseCounts map[string]podPhaseCountspodStatusCounts map[string]podStatusCountspodStatusWarning *qbtypes.QueryWarnData)@@ -1149,11 +1112,6 @@ func (m *module) ListJobs(ctx context.Context, orgID valuer.UUID, req *inframoniqueryResp, err = m.querier.QueryRange(gCtx, orgID, fullQueryReq)return err})- g.Go(func() error {- var err error- phaseCounts, err = m.getPerGroupPodPhaseCounts(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)- return err- })g.Go(func() error {var err errorpodStatusCounts, podStatusWarning, err = m.getPerGroupPodStatusCountsWithReqMetricChecks(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)@@ -1164,7 +1122,7 @@ func (m *module) ListJobs(ctx context.Context, orgID valuer.UUID, req *inframonireturn nil, err}- resp.Records = buildJobRecords(queryResp, pageGroups, req.GroupBy, metadataMap, phaseCounts, podStatusCounts)+ resp.Records = buildJobRecords(queryResp, pageGroups, req.GroupBy, metadataMap, podStatusCounts)resp.Warning = mergeQueryWarnings(queryResp.Warning, podStatusWarning)return resp, nil@@ -1239,10 +1197,9 @@ func (m *module) ListDaemonSets(ctx context.Context, orgID valuer.UUID, req *inffullQueryReq := buildFullQueryRequest(req.Start, req.End, filterExpr, req.GroupBy, pageGroups, m.newDaemonSetsTableListQuery())// Pods owned by a DaemonSet carry k8s.daemonset.name as a resource attribute,- // so default-groupBy gives per-daemonset phase counts automatically.+ // so default-groupBy gives per-daemonset status counts automatically.var (queryResp *qbtypes.QueryRangeResponse- phaseCounts map[string]podPhaseCountspodStatusCounts map[string]podStatusCountspodStatusWarning *qbtypes.QueryWarnData)@@ -1254,11 +1211,6 @@ func (m *module) ListDaemonSets(ctx context.Context, orgID valuer.UUID, req *infqueryResp, err = m.querier.QueryRange(gCtx, orgID, fullQueryReq)return err})- g.Go(func() error {- var err error- phaseCounts, err = m.getPerGroupPodPhaseCounts(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)- return err- })g.Go(func() error {var err errorpodStatusCounts, podStatusWarning, err = m.getPerGroupPodStatusCountsWithReqMetricChecks(gCtx, orgID, req.Start, req.End, req.Filter, req.GroupBy, pageGroups)@@ -1269,7 +1221,7 @@ func (m *module) ListDaemonSets(ctx context.Context, orgID valuer.UUID, req *infreturn nil, err}- resp.Records = buildDaemonSetRecords(queryResp, pageGroups, req.GroupBy, metadataMap, phaseCounts, podStatusCounts)+ resp.Records = buildDaemonSetRecords(queryResp, pageGroups, req.GroupBy, metadataMap, podStatusCounts)resp.Warning = mergeQueryWarnings(queryResp.Warning, podStatusWarning)return resp, nildiff --git a/pkg/modules/inframonitoring/implinframonitoring/namespaces.go b/pkg/modules/inframonitoring/implinframonitoring/namespaces.goindex 316e8876b7..d686a4150b 100644--- a/pkg/modules/inframonitoring/implinframonitoring/namespaces.go+++ b/pkg/modules/inframonitoring/implinframonitoring/namespaces.go@@ -9,15 +9,13 @@ import ("github.com/SigNoz/signoz/pkg/valuer")-// buildNamespaceRecords assembles the page records. Pod phase counts come from-// phaseCounts in both modes; every row is a group of pods, so there's no-// per-row "current phase" concept (unlike pods/nodes list mode).+// buildNamespaceRecords assembles the page records. Pod status counts come from+// podStatusCounts in both modes; every row is a group of pods.func buildNamespaceRecords(resp *qbtypes.QueryRangeResponse,pageGroups []map[string]string,groupBy []qbtypes.GroupByKey,metadataMap map[string]map[string]string,- phaseCounts map[string]podPhaseCounts,podStatusCounts map[string]podStatusCounts,resourceCounts map[string]map[string]int64,) []inframonitoringtypes.NamespaceRecord {@@ -44,16 +42,6 @@ func buildNamespaceRecords(}}- if phaseCountsForGroup, ok := phaseCounts[compositeKey]; ok {- record.PodCountsByPhase = inframonitoringtypes.PodCountsByPhase{- Pending: phaseCountsForGroup.Pending,- Running: phaseCountsForGroup.Running,- Succeeded: phaseCountsForGroup.Succeeded,- Failed: phaseCountsForGroup.Failed,- Unknown: phaseCountsForGroup.Unknown,- }- }-if podStatusCountsForGroup, ok := podStatusCounts[compositeKey]; ok {record.PodCountsByStatus = podStatusCountsToResponse(podStatusCountsForGroup)}diff --git a/pkg/modules/inframonitoring/implinframonitoring/namespaces_constants.go b/pkg/modules/inframonitoring/implinframonitoring/namespaces_constants.goindex 630759e42f..7be731227c 100644--- a/pkg/modules/inframonitoring/implinframonitoring/namespaces_constants.go+++ b/pkg/modules/inframonitoring/implinframonitoring/namespaces_constants.go@@ -18,7 +18,7 @@ var namespaceNameGroupByKey = qbtypes.GroupByKey{// namespacesTableMetricNamesList drives the existence/retention check.// Includes k8s.pod.phase so the response short-circuits cleanly when a// cluster doesn't ship the metric — even though phase isn't part of the-// QB composite query (it's queried separately via getPerGroupPodPhaseCounts).+// QB composite query (it's queried separately via getPerGroupPodStatusCounts).var namespacesTableMetricNamesList = []string{"k8s.pod.cpu.usage","k8s.pod.memory.working_set",@@ -80,8 +80,8 @@ var orderByToNamespacesQueryNames = map[string][]string{}// newNamespacesTableListQuery builds the composite QB v5 request for the namespaces list.-// Pod phase counts are derived separately via getPerGroupPodPhaseCounts (works for both-// list and grouped_list modes), so no phase query is included here.+// Pod status counts are derived separately via getPerGroupPodStatusCounts (works for both+// list and grouped_list modes), so no status query is included here.// Query letters A and D are kept aligned with the v1 implementation.func (m *module) newNamespacesTableListQuery() *qbtypes.QueryRangeRequest {queries := []qbtypes.QueryEnvelope{diff --git a/pkg/modules/inframonitoring/implinframonitoring/nodes.go b/pkg/modules/inframonitoring/implinframonitoring/nodes.goindex 8507411b72..0b2d269f2d 100644--- a/pkg/modules/inframonitoring/implinframonitoring/nodes.go+++ b/pkg/modules/inframonitoring/implinframonitoring/nodes.go@@ -25,7 +25,6 @@ func buildNodeRecords(groupBy []qbtypes.GroupByKey,metadataMap map[string]map[string]string,nodeConditionCounts map[string]nodeConditionCounts,- podPhaseCounts map[string]podPhaseCounts,podStatusCounts map[string]podStatusCounts,) []inframonitoringtypes.NodeRecord {metricsMap := parseFullQueryResponse(resp, groupBy)@@ -77,16 +76,6 @@ func buildNodeRecords(}}- if podPhaseCountsForGroup, ok := podPhaseCounts[compositeKey]; ok {- record.PodCountsByPhase = inframonitoringtypes.PodCountsByPhase{- Pending: podPhaseCountsForGroup.Pending,- Running: podPhaseCountsForGroup.Running,- Succeeded: podPhaseCountsForGroup.Succeeded,- Failed: podPhaseCountsForGroup.Failed,- Unknown: podPhaseCountsForGroup.Unknown,- }- }-if podStatusCountsForGroup, ok := podStatusCounts[compositeKey]; ok {record.PodCountsByStatus = podStatusCountsToResponse(podStatusCountsForGroup)}diff --git a/pkg/modules/inframonitoring/implinframonitoring/pods.go b/pkg/modules/inframonitoring/implinframonitoring/pods.goindex 058d4860eb..13d5fa6867 100644--- a/pkg/modules/inframonitoring/implinframonitoring/pods.go+++ b/pkg/modules/inframonitoring/implinframonitoring/pods.go@@ -15,17 +15,16 @@ import ("github.com/huandu/go-sqlbuilder")-// buildPodRecords assembles the page records. Phase counts come from-// phaseCounts in both modes. In list mode (isPodUIDInGroupBy=true) each-// group is one pod, so exactly one count is 1; PodPhase is derived from-// which one. In grouped_list mode PodPhase stays PodPhaseNoData.+// buildPodRecords assembles the page records. Status counts come from+// statusCounts in both modes. In list mode (isPodUIDInGroupBy=true) each+// group is one pod, so exactly one count is 1; PodStatus is derived from+// which one. In grouped_list mode PodStatus stays PodStatusNoData.func buildPodRecords(isPodUIDInGroupBy bool,resp *qbtypes.QueryRangeResponse,pageGroups []map[string]string,groupBy []qbtypes.GroupByKey,metadataMap map[string]map[string]string,- phaseCounts map[string]podPhaseCounts,statusCounts map[string]podStatusCounts,restartCounts map[string]int64,reqEnd int64,@@ -39,7 +38,6 @@ func buildPodRecords(record := inframonitoringtypes.PodRecord{ // initialize with default valuesPodUID: podUID,- PodPhase: inframonitoringtypes.PodPhaseNoData,PodStatus: inframonitoringtypes.PodStatusNoData,PodRestarts: -1,PodCPU: -1,@@ -73,32 +71,6 @@ func buildPodRecords(}}- if phaseCountsForGroup, ok := phaseCounts[compositeKey]; ok {- record.PodCountsByPhase = inframonitoringtypes.PodCountsByPhase{- Pending: phaseCountsForGroup.Pending,- Running: phaseCountsForGroup.Running,- Succeeded: phaseCountsForGroup.Succeeded,- Failed: phaseCountsForGroup.Failed,- Unknown: phaseCountsForGroup.Unknown,- }-- // In list mode each group is one pod; the count==1 bucket identifies the phase.- if isPodUIDInGroupBy {- switch {- case phaseCountsForGroup.Pending == 1:- record.PodPhase = inframonitoringtypes.PodPhasePending- case phaseCountsForGroup.Running == 1:- record.PodPhase = inframonitoringtypes.PodPhaseRunning- case phaseCountsForGroup.Succeeded == 1:- record.PodPhase = inframonitoringtypes.PodPhaseSucceeded- case phaseCountsForGroup.Failed == 1:- record.PodPhase = inframonitoringtypes.PodPhaseFailed- case phaseCountsForGroup.Unknown == 1:- record.PodPhase = inframonitoringtypes.PodPhaseUnknown- }- }- }-if statusCountsForGroup, ok := statusCounts[compositeKey]; ok {record.PodCountsByStatus = podStatusCountsToResponse(statusCountsForGroup)@@ -235,162 +207,6 @@ func (m *module) getPodsTableMetadata(ctx context.Context, orgID valuer.UUID, rereturn m.getMetadata(ctx, orgID, podsTableMetricNamesList, req.GroupBy, nonGroupByAttrs, req.Filter, req.Start, req.End)}-// getPerGroupPodPhaseCounts computes per-group pod counts bucketed by each-// pod's latest phase in the requested window.-// Pipeline:-//-// timeSeriesFPs: fp ↔ (pod_uid, groupBy cols) from the time_series table.-// User filter + page-groups filter applied here.-// latestPhasePerPod: INNER JOIN samples × timeSeriesFPs, collapsed to-// the latest phase per pod via argMax(value, unix_milli).-// countPodsPerPhase: per-group uniqExactIf into 5 phase buckets.-//-// Groups absent from the result map have implicit zero counts (caller default).-func (m *module) getPerGroupPodPhaseCounts(- ctx context.Context,- orgID valuer.UUID,- start, end int64,- filter *qbtypes.Filter,- groupBy []qbtypes.GroupByKey,- pageGroups []map[string]string,-) (map[string]podPhaseCounts, error) {- if len(pageGroups) == 0 || len(groupBy) == 0 {- return map[string]podPhaseCounts{}, nil- }-- // Merge user filter with page-groups IN clauses.- userFilterExpr := ""- if filter != nil {- userFilterExpr = filter.Expression- }- pageGroupsFilterExpr := buildPageGroupsFilterExpr(pageGroups)- mergedFilterExpr := mergeFilterExpressions(userFilterExpr, pageGroupsFilterExpr)-- // Step-floor bounds + resolve tables in one shot to match QB v5 querier.- samplesStartMs, flooredEndMs, tsAdjustedStart, _, localTimeSeriesTable, distributedSamplesTable, _ := alignedMetricWindow(start, end)- valueCol := telemetrymetrics.ValueColumnForSamplesTable(distributedSamplesTable)-- // ----- timeSeriesFPs ------ timeSeriesFPs := sqlbuilder.NewSelectBuilder()- timeSeriesFPsSelectCols := []string{- "fingerprint",- fmt.Sprintf("JSONExtractString(labels, %s) AS pod_uid", timeSeriesFPs.Var(podUIDAttrKey)),- }- for _, key := range groupBy {- timeSeriesFPsSelectCols = append(timeSeriesFPsSelectCols,- fmt.Sprintf("JSONExtractString(labels, %s) AS %s", timeSeriesFPs.Var(key.Name), quoteIdentifier(key.Name)),- )- }- timeSeriesFPs.Select(timeSeriesFPsSelectCols...)- timeSeriesFPs.From(fmt.Sprintf("%s.%s", telemetrymetrics.DBName, localTimeSeriesTable))- timeSeriesFPs.Where(- timeSeriesFPs.E("metric_name", podPhaseMetricName),- timeSeriesFPs.GE("unix_milli", tsAdjustedStart),- timeSeriesFPs.LE("unix_milli", flooredEndMs),- )- if mergedFilterExpr != "" {- filterClause, err := m.buildFilterClause(ctx, orgID, &qbtypes.Filter{Expression: mergedFilterExpr}, start, end)- if err != nil {- return nil, err- }- if filterClause != nil {- timeSeriesFPs.AddWhereClause(filterClause)- }- }- timeSeriesFPsGroupBy := []string{"fingerprint", "pod_uid"}- for _, key := range groupBy {- timeSeriesFPsGroupBy = append(timeSeriesFPsGroupBy, quoteIdentifier(key.Name))- }- timeSeriesFPs.GroupBy(timeSeriesFPsGroupBy...)- timeSeriesFPsSQL, timeSeriesFPsArgs := timeSeriesFPs.BuildWithFlavor(sqlbuilder.ClickHouse)-- latestPhasePerPod := sqlbuilder.NewSelectBuilder()- latestPhasePerPodSelectCols := []string{"tsfp.pod_uid AS pod_uid"}- latestPhasePerPodGroupBy := []string{"pod_uid"}- for _, key := range groupBy {- col := quoteIdentifier(key.Name)- latestPhasePerPodSelectCols = append(latestPhasePerPodSelectCols, fmt.Sprintf("tsfp.%s AS %s", col, col))- latestPhasePerPodGroupBy = append(latestPhasePerPodGroupBy, col)- }- latestPhasePerPodSelectCols = append(latestPhasePerPodSelectCols,- fmt.Sprintf("argMax(samples.%s, samples.unix_milli) AS phase_value", valueCol),- )- latestPhasePerPod.Select(latestPhasePerPodSelectCols...)- latestPhasePerPod.From(fmt.Sprintf(- "%s.%s AS samples INNER JOIN time_series_fps AS tsfp ON samples.fingerprint = tsfp.fingerprint",- telemetrymetrics.DBName, distributedSamplesTable,- ))- latestPhasePerPod.Where(- latestPhasePerPod.E("samples.metric_name", podPhaseMetricName),- latestPhasePerPod.GE("samples.unix_milli", samplesStartMs),- latestPhasePerPod.L("samples.unix_milli", flooredEndMs),- "tsfp.pod_uid != ''",- )- latestPhasePerPod.GroupBy(latestPhasePerPodGroupBy...)- latestPhasePerPodSQL, latestPhasePerPodArgs := latestPhasePerPod.BuildWithFlavor(sqlbuilder.ClickHouse)-- // ----- countPodsPerPhase (outer SELECT) ------ countPodsPerPhaseSelectCols := make([]string, 0, len(groupBy)+5)- countPodsPerPhaseGroupBy := make([]string, 0, len(groupBy))- for _, key := range groupBy {- col := quoteIdentifier(key.Name)- countPodsPerPhaseSelectCols = append(countPodsPerPhaseSelectCols, col)- countPodsPerPhaseGroupBy = append(countPodsPerPhaseGroupBy, col)- }- countPodsPerPhaseSelectCols = append(countPodsPerPhaseSelectCols,- fmt.Sprintf("uniqExactIf(pod_uid, phase_value = %d) AS pending_count", inframonitoringtypes.PodPhaseNumPending),- fmt.Sprintf("uniqExactIf(pod_uid, phase_value = %d) AS running_count", inframonitoringtypes.PodPhaseNumRunning),- fmt.Sprintf("uniqExactIf(pod_uid, phase_value = %d) AS succeeded_count", inframonitoringtypes.PodPhaseNumSucceeded),- fmt.Sprintf("uniqExactIf(pod_uid, phase_value = %d) AS failed_count", inframonitoringtypes.PodPhaseNumFailed),- fmt.Sprintf("uniqExactIf(pod_uid, phase_value = %d) AS unknown_count", inframonitoringtypes.PodPhaseNumUnknown),- )- countPodsPerPhaseSQL := fmt.Sprintf(- "SELECT %s FROM latest_phase_per_pod GROUP BY %s",- strings.Join(countPodsPerPhaseSelectCols, ", "),- strings.Join(countPodsPerPhaseGroupBy, ", "),- )-- // Combine CTEs + outer.- cteFragments := []string{- fmt.Sprintf("time_series_fps AS (%s)", timeSeriesFPsSQL),- fmt.Sprintf("latest_phase_per_pod AS (%s)", latestPhasePerPodSQL),- }- finalSQL := querybuilder.CombineCTEs(cteFragments) + countPodsPerPhaseSQL- finalArgs := querybuilder.PrependArgs([][]any{timeSeriesFPsArgs, latestPhasePerPodArgs}, nil)-- rows, err := m.telemetryStore.ClickhouseDB().Query(ctx, finalSQL, finalArgs...)- if err != nil {- return nil, err- }- defer rows.Close()-- result := make(map[string]podPhaseCounts)- for rows.Next() {- groupVals := make([]string, len(groupBy))- scanPtrs := make([]any, 0, len(groupBy)+5)- for i := range groupVals {- scanPtrs = append(scanPtrs, &groupVals[i])- }- var pending, running, succeeded, failed, unknown uint64- scanPtrs = append(scanPtrs, &pending, &running, &succeeded, &failed, &unknown)-- if err := rows.Scan(scanPtrs...); err != nil {- return nil, err- }- result[compositeKeyFromList(groupVals)] = podPhaseCounts{- Pending: int(pending),- Running: int(running),- Succeeded: int(succeeded),- Failed: int(failed),- Unknown: int(unknown),- }- }- if err := rows.Err(); err != nil {- return nil, err- }- return result, nil-}-// getPerGroupPodStatusCountsWithReqMetricChecks gates getPerGroupPodStatusCounts// on the required metrics being present. If any of podStatusMetricNamesList has// never been reported, it skips the query and returns a warning instead (the@@ -438,7 +254,7 @@ func (m *module) getPerGroupPodStatusCountsWithReqMetricChecks(// getPerGroupPodStatusCounts computes per-group pod counts bucketed by each// pod's latest kubectl-style display status in the requested window. Caller// must ensure the required metrics exist (getPerGroupPodStatusCountsWithReqMetricChecks).-// Pipeline (mirrors getPerGroupPodPhaseCounts, more CTEs):+// Pipeline://// phase_fps / phase_per_pod: latest k8s.pod.phase per pod (+ groupBy cols).// pod_reason_fps / pod_reason_per_pod: latest k8s.pod.status_reason per pod.diff --git a/pkg/modules/inframonitoring/implinframonitoring/pods_constants.go b/pkg/modules/inframonitoring/implinframonitoring/pods_constants.goindex 2997dc54a4..21b6680198 100644--- a/pkg/modules/inframonitoring/implinframonitoring/pods_constants.go+++ b/pkg/modules/inframonitoring/implinframonitoring/pods_constants.go@@ -69,8 +69,8 @@ var orderByToPodsQueryNames = map[string][]string{}// newPodsTableListQuery builds the composite QB v5 request for the pods list.-// Pod phase is derived separately via getPerGroupPodPhaseCounts (works for both-// list and grouped_list modes), so no phase query is included here.+// Pod status is derived separately via getPerGroupPodStatusCounts (works for both+// list and grouped_list modes), so no status query is included here.func (m *module) newPodsTableListQuery() *qbtypes.QueryRangeRequest {queries := []qbtypes.QueryEnvelope{// Query A: CPU usagediff --git a/pkg/modules/inframonitoring/implinframonitoring/statefulsets.go b/pkg/modules/inframonitoring/implinframonitoring/statefulsets.goindex f842f73790..0d7aa012b7 100644--- a/pkg/modules/inframonitoring/implinframonitoring/statefulsets.go+++ b/pkg/modules/inframonitoring/implinframonitoring/statefulsets.go@@ -9,16 +9,14 @@ import ("github.com/SigNoz/signoz/pkg/valuer")-// buildStatefulSetRecords assembles the page records. Pod phase counts come from-// phaseCounts in both modes; every row is a group of pods (one statefulset in-// list mode, an arbitrary roll-up in grouped_list mode), so there's no-// per-row "current phase" concept.+// buildStatefulSetRecords assembles the page records. Pod status counts come from+// podStatusCounts in both modes; every row is a group of pods (one statefulset in+// list mode, an arbitrary roll-up in grouped_list mode).func buildStatefulSetRecords(resp *qbtypes.QueryRangeResponse,pageGroups []map[string]string,groupBy []qbtypes.GroupByKey,metadataMap map[string]map[string]string,- phaseCounts map[string]podPhaseCounts,podStatusCounts map[string]podStatusCounts,) []inframonitoringtypes.StatefulSetRecord {metricsMap := parseFullQueryResponse(resp, groupBy)@@ -68,16 +66,6 @@ func buildStatefulSetRecords(}}- if phaseCountsForGroup, ok := phaseCounts[compositeKey]; ok {- record.PodCountsByPhase = inframonitoringtypes.PodCountsByPhase{- Pending: phaseCountsForGroup.Pending,- Running: phaseCountsForGroup.Running,- Succeeded: phaseCountsForGroup.Succeeded,- Failed: phaseCountsForGroup.Failed,- Unknown: phaseCountsForGroup.Unknown,- }- }-if podStatusCountsForGroup, ok := podStatusCounts[compositeKey]; ok {record.PodCountsByStatus = podStatusCountsToResponse(podStatusCountsForGroup)}diff --git a/pkg/modules/inframonitoring/implinframonitoring/statefulsets_constants.go b/pkg/modules/inframonitoring/implinframonitoring/statefulsets_constants.goindex 74325a7d07..5c8c76df89 100644--- a/pkg/modules/inframonitoring/implinframonitoring/statefulsets_constants.go+++ b/pkg/modules/inframonitoring/implinframonitoring/statefulsets_constants.go@@ -19,7 +19,7 @@ var statefulSetNameGroupByKey = qbtypes.GroupByKey{// statefulSetsTableMetricNamesList drives the existence/retention check.// Includes k8s.pod.phase even though phase isn't part of the QB composite query —-// it is queried separately via getPerGroupPodPhaseCounts, and we want the+// it is queried separately via getPerGroupPodStatusCounts, and we want the// response to short-circuit cleanly when the phase metric is absent.var statefulSetsTableMetricNamesList = []string{"k8s.pod.phase",diff --git a/pkg/types/inframonitoringtypes/clusters.go b/pkg/types/inframonitoringtypes/clusters.goindex 57c24f36c6..7cbf6529df 100644--- a/pkg/types/inframonitoringtypes/clusters.go+++ b/pkg/types/inframonitoringtypes/clusters.go@@ -26,7 +26,6 @@ type ClusterRecord struct {ClusterMemory float64 `json:"clusterMemory" required:"true"`ClusterMemoryAllocatable float64 `json:"clusterMemoryAllocatable" required:"true"`NodeCountsByReadiness NodeCountsByReadiness `json:"nodeCountsByReadiness" required:"true"`- PodCountsByPhase PodCountsByPhase `json:"podCountsByPhase" required:"true"`PodCountsByStatus PodCountsByStatus `json:"podCountsByStatus" required:"true"`Counts struct {Nodes int64 `json:"nodes" required:"true"`diff --git a/pkg/types/inframonitoringtypes/clusters_test.go b/pkg/types/inframonitoringtypes/clusters_test.goindex 2db4dba740..6b2a59f7fc 100644--- a/pkg/types/inframonitoringtypes/clusters_test.go+++ b/pkg/types/inframonitoringtypes/clusters_test.go@@ -221,24 +221,6 @@ func TestPostableClusters_Validate(t *testing.T) {},wantErr: true,},- {- name: "orderBy with pod_phase key is rejected",- req: &PostableClusters{- Start: 1000,- End: 2000,- Limit: 100,- Offset: 0,- OrderBy: &qbtypes.OrderBy{- Key: qbtypes.OrderByKey{- TelemetryFieldKey: telemetrytypes.TelemetryFieldKey{- Name: "pod_phase",- },- },- Direction: qbtypes.OrderDirectionDesc,- },- },- wantErr: true,- },{name: "orderBy with invalid key",req: &PostableClusters{diff --git a/pkg/types/inframonitoringtypes/daemonsets.go b/pkg/types/inframonitoringtypes/daemonsets.goindex 142c5d0ea7..b792898785 100644--- a/pkg/types/inframonitoringtypes/daemonsets.go+++ b/pkg/types/inframonitoringtypes/daemonsets.go@@ -28,7 +28,6 @@ type DaemonSetRecord struct {CurrentNodes int `json:"currentNodes" required:"true"`ReadyNodes int `json:"readyNodes" required:"true"`MisscheduledNodes int `json:"misscheduledNodes" required:"true"`- PodCountsByPhase PodCountsByPhase `json:"podCountsByPhase" required:"true"`PodCountsByStatus PodCountsByStatus `json:"podCountsByStatus" required:"true"`Meta map[string]string `json:"meta" required:"true"`}diff --git a/pkg/types/inframonitoringtypes/deployments.go b/pkg/types/inframonitoringtypes/deployments.goindex fdf1d191ae..22dd56fdcc 100644--- a/pkg/types/inframonitoringtypes/deployments.go+++ b/pkg/types/inframonitoringtypes/deployments.go@@ -26,7 +26,6 @@ type DeploymentRecord struct {DeploymentMemoryLimit float64 `json:"deploymentMemoryLimit" required:"true"`DesiredPods int `json:"desiredPods" required:"true"`AvailablePods int `json:"availablePods" required:"true"`- PodCountsByPhase PodCountsByPhase `json:"podCountsByPhase" required:"true"`PodCountsByStatus PodCountsByStatus `json:"podCountsByStatus" required:"true"`Meta map[string]string `json:"meta" required:"true"`}diff --git a/pkg/types/inframonitoringtypes/jobs.go b/pkg/types/inframonitoringtypes/jobs.goindex 0ac5bb9f7c..63db9b2d5c 100644--- a/pkg/types/inframonitoringtypes/jobs.go+++ b/pkg/types/inframonitoringtypes/jobs.go@@ -28,7 +28,6 @@ type JobRecord struct {ActivePods int `json:"activePods" required:"true"`FailedPods int `json:"failedPods" required:"true"`SuccessfulPods int `json:"successfulPods" required:"true"`- PodCountsByPhase PodCountsByPhase `json:"podCountsByPhase" required:"true"`PodCountsByStatus PodCountsByStatus `json:"podCountsByStatus" required:"true"`Meta map[string]string `json:"meta" required:"true"`}diff --git a/pkg/types/inframonitoringtypes/namespaces.go b/pkg/types/inframonitoringtypes/namespaces.goindex 89e5cf2bf7..a032363311 100644--- a/pkg/types/inframonitoringtypes/namespaces.go+++ b/pkg/types/inframonitoringtypes/namespaces.go@@ -20,7 +20,6 @@ type NamespaceRecord struct {NamespaceName string `json:"namespaceName" required:"true"`NamespaceCPU float64 `json:"namespaceCPU" required:"true"`NamespaceMemory float64 `json:"namespaceMemory" required:"true"`- PodCountsByPhase PodCountsByPhase `json:"podCountsByPhase" required:"true"`PodCountsByStatus PodCountsByStatus `json:"podCountsByStatus" required:"true"`Counts struct {Deployments int64 `json:"deployments" required:"true"`diff --git a/pkg/types/inframonitoringtypes/namespaces_test.go b/pkg/types/inframonitoringtypes/namespaces_test.goindex 8b2f8f569e..d72d353497 100644--- a/pkg/types/inframonitoringtypes/namespaces_test.go+++ b/pkg/types/inframonitoringtypes/namespaces_test.go@@ -167,24 +167,6 @@ func TestPostableNamespaces_Validate(t *testing.T) {},wantErr: false,},- {- name: "orderBy with pod_phase key is rejected",- req: &PostableNamespaces{- Start: 1000,- End: 2000,- Limit: 100,- Offset: 0,- OrderBy: &qbtypes.OrderBy{- Key: qbtypes.OrderByKey{- TelemetryFieldKey: telemetrytypes.TelemetryFieldKey{- Name: "pod_phase",- },- },- Direction: qbtypes.OrderDirectionDesc,- },- },- wantErr: true,- },{name: "orderBy with invalid key",req: &PostableNamespaces{diff --git a/pkg/types/inframonitoringtypes/nodes.go b/pkg/types/inframonitoringtypes/nodes.goindex 9fd78f703f..60b66644ce 100644--- a/pkg/types/inframonitoringtypes/nodes.go+++ b/pkg/types/inframonitoringtypes/nodes.go@@ -27,7 +27,6 @@ type NodeRecord struct {NodeName string `json:"nodeName" required:"true"`Condition NodeCondition `json:"condition" required:"true"`NodeCountsByReadiness NodeCountsByReadiness `json:"nodeCountsByReadiness" required:"true"`- PodCountsByPhase PodCountsByPhase `json:"podCountsByPhase" required:"true"`PodCountsByStatus PodCountsByStatus `json:"podCountsByStatus" required:"true"`NodeCPU float64 `json:"nodeCPU" required:"true"`NodeCPUAllocatable float64 `json:"nodeCPUAllocatable" required:"true"`diff --git a/pkg/types/inframonitoringtypes/pods.go b/pkg/types/inframonitoringtypes/pods.goindex 005a746165..aafc1579ca 100644--- a/pkg/types/inframonitoringtypes/pods.go+++ b/pkg/types/inframonitoringtypes/pods.go@@ -16,16 +16,6 @@ type Pods struct {Warning *qbtypes.QueryWarnData `json:"warning,omitempty"`}-// PodCountsByPhase buckets pod counts by their latest phase in the time window.-// Reusable across record types (pod / namespace / cluster).-type PodCountsByPhase struct {- Pending int `json:"pending" required:"true"`- Running int `json:"running" required:"true"`- Succeeded int `json:"succeeded" required:"true"`- Failed int `json:"failed" required:"true"`- Unknown int `json:"unknown" required:"true"`-}-// PodCountsByStatus buckets pod counts by their latest kubectl-style display// status in the time window (see PodStatus). One field per derivable status.type PodCountsByStatus struct {@@ -62,8 +52,6 @@ type PodRecord struct {PodMemory float64 `json:"podMemory" required:"true"`PodMemoryRequest float64 `json:"podMemoryRequest" required:"true"`PodMemoryLimit float64 `json:"podMemoryLimit" required:"true"`- PodPhase PodPhase `json:"podPhase" required:"true"`- PodCountsByPhase PodCountsByPhase `json:"podCountsByPhase" required:"true"`PodStatus PodStatus `json:"podStatus" required:"true"`PodCountsByStatus PodCountsByStatus `json:"podCountsByStatus" required:"true"`PodRestarts int64 `json:"podRestarts" required:"true"`diff --git a/pkg/types/inframonitoringtypes/pods_constants.go b/pkg/types/inframonitoringtypes/pods_constants.goindex e359565073..a4e2e78119 100644--- a/pkg/types/inframonitoringtypes/pods_constants.go+++ b/pkg/types/inframonitoringtypes/pods_constants.go@@ -2,30 +2,6 @@ package inframonitoringtypesimport "github.com/SigNoz/signoz/pkg/valuer"-type PodPhase struct {- valuer.String-}--var (- PodPhasePending = PodPhase{valuer.NewString("pending")}- PodPhaseRunning = PodPhase{valuer.NewString("running")}- PodPhaseSucceeded = PodPhase{valuer.NewString("succeeded")}- PodPhaseFailed = PodPhase{valuer.NewString("failed")}- PodPhaseUnknown = PodPhase{valuer.NewString("unknown")}- PodPhaseNoData = PodPhase{valuer.NewString("no_data")}-)--func (PodPhase) Enum() []any {- return []any{- PodPhasePending,- PodPhaseRunning,- PodPhaseSucceeded,- PodPhaseFailed,- PodPhaseUnknown,- PodPhaseNoData,- }-}-// PodStatus is the kubectl-style pod display status, derived from// k8s.pod.phase + k8s.pod.status_reason + k8s.container.status.reason// (priority cascade: container reason > pod-level reason > phase).@@ -90,16 +66,6 @@ func (PodStatus) Enum() []any {}}-// Numeric pod phase values emitted by the k8s.pod.phase metric-// (source: OTel kubeletstats receiver).-const (- PodPhaseNumPending = 1- PodPhaseNumRunning = 2- PodPhaseNumSucceeded = 3- PodPhaseNumFailed = 4- PodPhaseNumUnknown = 5-)-const PodNameAttrKey = "k8s.pod.name"const (diff --git a/pkg/types/inframonitoringtypes/pods_test.go b/pkg/types/inframonitoringtypes/pods_test.goindex 2f88ff21db..e4bca9187e 100644--- a/pkg/types/inframonitoringtypes/pods_test.go+++ b/pkg/types/inframonitoringtypes/pods_test.go@@ -149,24 +149,6 @@ func TestPostablePods_Validate(t *testing.T) {},wantErr: false,},- {- name: "orderBy with phase key is rejected",- req: &PostablePods{- Start: 1000,- End: 2000,- Limit: 100,- Offset: 0,- OrderBy: &qbtypes.OrderBy{- Key: qbtypes.OrderByKey{- TelemetryFieldKey: telemetrytypes.TelemetryFieldKey{- Name: "phase",- },- },- Direction: qbtypes.OrderDirectionDesc,- },- },- wantErr: true,- },{name: "orderBy with invalid key",req: &PostablePods{diff --git a/pkg/types/inframonitoringtypes/statefulsets.go b/pkg/types/inframonitoringtypes/statefulsets.goindex f028da6d36..9ab9dcd17a 100644--- a/pkg/types/inframonitoringtypes/statefulsets.go+++ b/pkg/types/inframonitoringtypes/statefulsets.go@@ -26,7 +26,6 @@ type StatefulSetRecord struct {StatefulSetMemoryLimit float64 `json:"statefulSetMemoryLimit" required:"true"`DesiredPods int `json:"desiredPods" required:"true"`CurrentPods int `json:"currentPods" required:"true"`- PodCountsByPhase PodCountsByPhase `json:"podCountsByPhase" required:"true"`PodCountsByStatus PodCountsByStatus `json:"podCountsByStatus" required:"true"`Meta map[string]string `json:"meta" required:"true"`}diff --git a/tests/integration/testdata/inframonitoring/clusters_value_accuracy_expected.json b/tests/integration/testdata/inframonitoring/clusters_value_accuracy_expected.jsonindex fc5049df4e..f2a155093a 100644--- a/tests/integration/testdata/inframonitoring/clusters_value_accuracy_expected.json+++ b/tests/integration/testdata/inframonitoring/clusters_value_accuracy_expected.json@@ -10,13 +10,6 @@"ready": 2,"notReady": 0},- "podCountsByPhase": {- "pending": 0,- "running": 3,- "succeeded": 0,- "failed": 0,- "unknown": 0- },"counts": {"nodes": 2,"namespaces": 2,@@ -36,13 +29,6 @@"ready": 3,"notReady": 0},- "podCountsByPhase": {- "pending": 0,- "running": 3,- "succeeded": 0,- "failed": 0,- "unknown": 0- },"counts": {"nodes": 3,"namespaces": 2,diff --git a/tests/integration/testdata/inframonitoring/daemonsets_pod_phases.jsonl b/tests/integration/testdata/inframonitoring/daemonsets_pod_phases.jsonldeleted file mode 100644index cbb9289af8..0000000000--- a/tests/integration/testdata/inframonitoring/daemonsets_pod_phases.jsonl+++ /dev/null@@ -1,153 +0,0 @@-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-1","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-2","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-3","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-4","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-5","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-6","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.daemonset.name":"pp-ds","k8s.node.name":"node-7","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.daemonset.desired_scheduled_nodes","labels":{"k8s.daemonset.name":"pp-ds","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":7,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.daemonset.current_scheduled_nodes","labels":{"k8s.daemonset.name":"pp-ds","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.daemonset.desired_scheduled_nodes","labels":{"k8s.daemonset.name":"pp-ds","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":7,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.daemonset.current_scheduled_nodes","labels":{"k8s.daemonset.name":"pp-ds","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.daemonset.desired_scheduled_nodes","labels":{"k8s.daemonset.name":"pp-ds","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":7,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.daemonset.current_scheduled_nodes","labels":{"k8s.daemonset.name":"pp-ds","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}diff --git a/tests/integration/testdata/inframonitoring/daemonsets_value_accuracy_expected.json b/tests/integration/testdata/inframonitoring/daemonsets_value_accuracy_expected.jsonindex 7842e3ef7b..28dfa70078 100644--- a/tests/integration/testdata/inframonitoring/daemonsets_value_accuracy_expected.json+++ b/tests/integration/testdata/inframonitoring/daemonsets_value_accuracy_expected.json@@ -11,14 +11,7 @@"desiredNodes": 3,"currentNodes": 2,"readyNodes": 2,- "misscheduledNodes": 1,- "podCountsByPhase": {- "pending": 0,- "running": 2,- "succeeded": 0,- "failed": 0,- "unknown": 0- }+ "misscheduledNodes": 1},{"daemonSetName": "acc-ds-2",@@ -31,14 +24,7 @@"desiredNodes": 4,"currentNodes": 4,"readyNodes": 4,- "misscheduledNodes": 0,- "podCountsByPhase": {- "pending": 0,- "running": 3,- "succeeded": 0,- "failed": 0,- "unknown": 0- }+ "misscheduledNodes": 0}]}diff --git a/tests/integration/testdata/inframonitoring/deployments_value_accuracy_expected.json b/tests/integration/testdata/inframonitoring/deployments_value_accuracy_expected.jsonindex a40ae1245e..8e0ad50df3 100644--- a/tests/integration/testdata/inframonitoring/deployments_value_accuracy_expected.json+++ b/tests/integration/testdata/inframonitoring/deployments_value_accuracy_expected.json@@ -9,14 +9,7 @@"deploymentMemoryRequest": 0.5,"deploymentMemoryLimit": 0.4,"desiredPods": 3,- "availablePods": 2,- "podCountsByPhase": {- "pending": 0,- "running": 2,- "succeeded": 0,- "failed": 0,- "unknown": 0- }+ "availablePods": 2},{"deploymentName": "acc-dep-2",@@ -27,14 +20,7 @@"deploymentMemoryRequest": 0.4,"deploymentMemoryLimit": 0.3,"desiredPods": 4,- "availablePods": 4,- "podCountsByPhase": {- "pending": 0,- "running": 3,- "succeeded": 0,- "failed": 0,- "unknown": 0- }+ "availablePods": 4}]}diff --git a/tests/integration/testdata/inframonitoring/jobs_pod_phases.jsonl b/tests/integration/testdata/inframonitoring/jobs_pod_phases.jsonldeleted file mode 100644index 772a94ae88..0000000000--- a/tests/integration/testdata/inframonitoring/jobs_pod_phases.jsonl+++ /dev/null@@ -1,138 +0,0 @@-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":3,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":3,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-succ-1-uid","k8s.pod.name":"pp-succ-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":3,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":3,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":3,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-succ-2-uid","k8s.pod.name":"pp-succ-2","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":3,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":3,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":3,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-succ-3-uid","k8s.pod.name":"pp-succ-3","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":3,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.job.active_pods","labels":{"k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.job.failed_pods","labels":{"k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.job.successful_pods","labels":{"k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":3,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.job.desired_successful_pods","labels":{"k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.job.active_pods","labels":{"k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.job.failed_pods","labels":{"k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.job.successful_pods","labels":{"k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":3,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.job.desired_successful_pods","labels":{"k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.job.active_pods","labels":{"k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.job.failed_pods","labels":{"k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.job.successful_pods","labels":{"k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":3,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.job.desired_successful_pods","labels":{"k8s.job.name":"pp-job","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}diff --git a/tests/integration/testdata/inframonitoring/jobs_value_accuracy_expected.json b/tests/integration/testdata/inframonitoring/jobs_value_accuracy_expected.jsonindex 9ee75a1b5f..a46dfcf16e 100644--- a/tests/integration/testdata/inframonitoring/jobs_value_accuracy_expected.json+++ b/tests/integration/testdata/inframonitoring/jobs_value_accuracy_expected.json@@ -11,14 +11,7 @@"desiredSuccessfulPods": 2,"activePods": 1,"failedPods": 0,- "successfulPods": 1,- "podCountsByPhase": {- "pending": 0,- "running": 2,- "succeeded": 0,- "failed": 0,- "unknown": 0- }+ "successfulPods": 1},{"jobName": "acc-job-2",@@ -31,14 +24,7 @@"desiredSuccessfulPods": 5,"activePods": 3,"failedPods": 1,- "successfulPods": 2,- "podCountsByPhase": {- "pending": 0,- "running": 3,- "succeeded": 0,- "failed": 0,- "unknown": 0- }+ "successfulPods": 2}]}diff --git a/tests/integration/testdata/inframonitoring/namespaces_pod_phases.jsonl b/tests/integration/testdata/inframonitoring/namespaces_pod_phases.jsonldeleted file mode 100644index f018174664..0000000000--- a/tests/integration/testdata/inframonitoring/namespaces_pod_phases.jsonl+++ /dev/null@@ -1,63 +0,0 @@-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-pend-1-uid","k8s.pod.name":"pp-pend-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-pend-1-uid","k8s.pod.name":"pp-pend-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-pend-1-uid","k8s.pod.name":"pp-pend-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-pend-1-uid","k8s.pod.name":"pp-pend-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-pend-1-uid","k8s.pod.name":"pp-pend-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-pend-1-uid","k8s.pod.name":"pp-pend-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pend-1-uid","k8s.pod.name":"pp-pend-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pend-1-uid","k8s.pod.name":"pp-pend-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pend-1-uid","k8s.pod.name":"pp-pend-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.namespace.name":"pp-ns","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}diff --git a/tests/integration/testdata/inframonitoring/namespaces_value_accuracy_expected.json b/tests/integration/testdata/inframonitoring/namespaces_value_accuracy_expected.jsonindex bcd683b1ad..f2345bd8f8 100644--- a/tests/integration/testdata/inframonitoring/namespaces_value_accuracy_expected.json+++ b/tests/integration/testdata/inframonitoring/namespaces_value_accuracy_expected.json@@ -4,14 +4,12 @@"namespaceName": "acc-ns-1","namespaceCPU": 1.0,"namespaceMemory": 200000000.0,- "podCountsByPhase": {"pending": 0, "running": 2, "succeeded": 0, "failed": 0, "unknown": 0},"counts": {"deployments": 2, "daemonSets": 1, "jobs": 1, "statefulSets": 0}},{"namespaceName": "acc-ns-2","namespaceCPU": 2.25,"namespaceMemory": 600000000.0,- "podCountsByPhase": {"pending": 0, "running": 3, "succeeded": 0, "failed": 0, "unknown": 0},"counts": {"deployments": 1, "daemonSets": 1, "jobs": 1, "statefulSets": 0}}]diff --git a/tests/integration/testdata/inframonitoring/nodes_no_pods.jsonl b/tests/integration/testdata/inframonitoring/nodes_no_pods.jsonldeleted file mode 100644index 7bf3199f75..0000000000--- a/tests/integration/testdata/inframonitoring/nodes_no_pods.jsonl+++ /dev/null@@ -1,18 +0,0 @@-{"metric_name":"k8s.node.cpu.usage","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.cpu.usage","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.cpu.usage","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.allocatable_cpu","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":4.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.allocatable_cpu","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":4.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.allocatable_cpu","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":4.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.memory.working_set","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":1000000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.memory.working_set","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":1000000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.memory.working_set","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":1000000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.allocatable_memory","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":8000000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.allocatable_memory","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":8000000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.allocatable_memory","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":8000000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.condition_ready","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.condition_ready","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.condition_ready","labels":{"k8s.node.name":"no-pod-n","k8s.node.uid":"no-pod-n-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"carrier-pod-uid","k8s.pod.name":"carrier-pod","k8s.namespace.name":"carrier-ns","k8s.node.name":"carrier-phantom-host","k8s.cluster.name":"carrier-cluster"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"carrier-pod-uid","k8s.pod.name":"carrier-pod","k8s.namespace.name":"carrier-ns","k8s.node.name":"carrier-phantom-host","k8s.cluster.name":"carrier-cluster"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"carrier-pod-uid","k8s.pod.name":"carrier-pod","k8s.namespace.name":"carrier-ns","k8s.node.name":"carrier-phantom-host","k8s.cluster.name":"carrier-cluster"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}diff --git a/tests/integration/testdata/inframonitoring/nodes_pod_phases.jsonl b/tests/integration/testdata/inframonitoring/nodes_pod_phases.jsonldeleted file mode 100644index c15da4493a..0000000000--- a/tests/integration/testdata/inframonitoring/nodes_pod_phases.jsonl+++ /dev/null@@ -1,30 +0,0 @@-{"metric_name":"k8s.node.cpu.usage","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.cpu.usage","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.cpu.usage","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.allocatable_cpu","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":4.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.allocatable_cpu","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":4.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.allocatable_cpu","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":4.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.memory.working_set","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":1000000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.memory.working_set","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":1000000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.memory.working_set","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":1000000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.allocatable_memory","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":8000000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.allocatable_memory","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":8000000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.allocatable_memory","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":8000000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.condition_ready","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.condition_ready","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.node.condition_ready","labels":{"k8s.node.name":"pp-n1","k8s.node.uid":"pp-n1-uid","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-run-1-uid","k8s.pod.name":"pp-pod-run-1","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-run-1-uid","k8s.pod.name":"pp-pod-run-1","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-run-1-uid","k8s.pod.name":"pp-pod-run-1","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-run-2-uid","k8s.pod.name":"pp-pod-run-2","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-run-2-uid","k8s.pod.name":"pp-pod-run-2","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-run-2-uid","k8s.pod.name":"pp-pod-run-2","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-run-3-uid","k8s.pod.name":"pp-pod-run-3","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-run-3-uid","k8s.pod.name":"pp-pod-run-3","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-run-3-uid","k8s.pod.name":"pp-pod-run-3","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-fail-1-uid","k8s.pod.name":"pp-pod-fail-1","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-fail-1-uid","k8s.pod.name":"pp-pod-fail-1","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-fail-1-uid","k8s.pod.name":"pp-pod-fail-1","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-fail-2-uid","k8s.pod.name":"pp-pod-fail-2","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-fail-2-uid","k8s.pod.name":"pp-pod-fail-2","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pod-fail-2-uid","k8s.pod.name":"pp-pod-fail-2","k8s.namespace.name":"ns-x","k8s.node.name":"pp-n1","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}diff --git a/tests/integration/testdata/inframonitoring/nodes_value_accuracy_expected.json b/tests/integration/testdata/inframonitoring/nodes_value_accuracy_expected.jsonindex 3a02e912c7..426b67d9da 100644--- a/tests/integration/testdata/inframonitoring/nodes_value_accuracy_expected.json+++ b/tests/integration/testdata/inframonitoring/nodes_value_accuracy_expected.json@@ -7,8 +7,7 @@"nodeMemory": 2000000000.0,"nodeMemoryAllocatable": 8000000000.0,"condition": "ready",- "nodeCountsByReadiness": {"ready": 1, "notReady": 0},- "podCountsByPhase": {"pending": 0, "running": 1, "succeeded": 0, "failed": 0, "unknown": 0}+ "nodeCountsByReadiness": {"ready": 1, "notReady": 0}},{"nodeName": "acc-n2",@@ -17,8 +16,7 @@"nodeMemory": 4000000000.0,"nodeMemoryAllocatable": 32000000000.0,"condition": "ready",- "nodeCountsByReadiness": {"ready": 1, "notReady": 0},- "podCountsByPhase": {"pending": 0, "running": 1, "succeeded": 0, "failed": 0, "unknown": 0}+ "nodeCountsByReadiness": {"ready": 1, "notReady": 0}}]}diff --git a/tests/integration/testdata/inframonitoring/pods_value_accuracy_expected.json b/tests/integration/testdata/inframonitoring/pods_value_accuracy_expected.jsonindex 59a7aeb8e6..dc1381975f 100644--- a/tests/integration/testdata/inframonitoring/pods_value_accuracy_expected.json+++ b/tests/integration/testdata/inframonitoring/pods_value_accuracy_expected.json@@ -8,8 +8,6 @@"podMemory": 524288000.0,"podMemoryRequest": 0.5,"podMemoryLimit": 0.25,- "podPhase": "running",- "podCountsByPhase": {"pending": 0, "running": 1, "succeeded": 0, "failed": 0, "unknown": 0},"podStatus": "running","podRestarts": 0,"podCountsByStatus": {@@ -29,8 +27,6 @@"podMemory": 1073741824.0,"podMemoryRequest": 0.75,"podMemoryLimit": 0.5,- "podPhase": "running",- "podCountsByPhase": {"pending": 0, "running": 1, "succeeded": 0, "failed": 0, "unknown": 0},"podStatus": "running","podRestarts": 0,"podCountsByStatus": {diff --git a/tests/integration/testdata/inframonitoring/statefulsets_pod_phases.jsonl b/tests/integration/testdata/inframonitoring/statefulsets_pod_phases.jsonldeleted file mode 100644index dc1d552f42..0000000000--- a/tests/integration/testdata/inframonitoring/statefulsets_pod_phases.jsonl+++ /dev/null@@ -1,153 +0,0 @@-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-1-uid","k8s.pod.name":"pp-run-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-2-uid","k8s.pod.name":"pp-run-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-3-uid","k8s.pod.name":"pp-run-3","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-run-4-uid","k8s.pod.name":"pp-run-4","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":2,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-pen-1-uid","k8s.pod.name":"pp-pen-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":1,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-1-uid","k8s.pod.name":"pp-fail-1","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu.usage","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_request_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.cpu_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory.working_set","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":100000000.0,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_request_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.5,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.memory_limit_utilization","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":0.4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.pod.phase","labels":{"k8s.pod.uid":"pp-fail-2-uid","k8s.pod.name":"pp-fail-2","k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.statefulset.desired_pods","labels":{"k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":7,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.statefulset.current_pods","labels":{"k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:00:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.statefulset.desired_pods","labels":{"k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":7,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.statefulset.current_pods","labels":{"k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:02:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.statefulset.desired_pods","labels":{"k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":7,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}-{"metric_name":"k8s.statefulset.current_pods","labels":{"k8s.statefulset.name":"pp-ss","k8s.namespace.name":"ns-pp","k8s.cluster.name":"cluster-x"},"timestamp":"2025-01-10T10:04:00+00:00","value":4,"temporality":"Unspecified","type_":"Gauge","is_monotonic":false}diff --git a/tests/integration/testdata/inframonitoring/statefulsets_value_accuracy_expected.json b/tests/integration/testdata/inframonitoring/statefulsets_value_accuracy_expected.jsonindex dd39b8faf2..edcb79d36e 100644--- a/tests/integration/testdata/inframonitoring/statefulsets_value_accuracy_expected.json+++ b/tests/integration/testdata/inframonitoring/statefulsets_value_accuracy_expected.json@@ -9,14 +9,7 @@"statefulSetMemoryRequest": 0.5,"statefulSetMemoryLimit": 0.4,"desiredPods": 3,- "currentPods": 2,- "podCountsByPhase": {- "pending": 0,- "running": 2,- "succeeded": 0,- "failed": 0,- "unknown": 0- }+ "currentPods": 2},{"statefulSetName": "acc-ss-2",@@ -27,14 +20,7 @@"statefulSetMemoryRequest": 0.4,"statefulSetMemoryLimit": 0.3,"desiredPods": 4,- "currentPods": 4,- "podCountsByPhase": {- "pending": 0,- "running": 3,- "succeeded": 0,- "failed": 0,- "unknown": 0- }+ "currentPods": 4}]}diff --git a/tests/integration/tests/inframonitoring/02_pods.py b/tests/integration/tests/inframonitoring/02_pods.pyindex e8969be02d..7cfa11e0cc 100644--- a/tests/integration/tests/inframonitoring/02_pods.py+++ b/tests/integration/tests/inframonitoring/02_pods.py@@ -65,7 +65,7 @@ def test_pods_accuracy(insert_metrics,) -> None:"""Seed 2 pods x 7 metrics; assert response shape/contract + exact per-pod- metric values, podAge, and podCountsByPhase against precomputed expected+ metric values, podAge, and podCountsByStatus against precomputed expectedoutput. Locks in numerical determinism."""now = datetime.now(tz=UTC).replace(microsecond=0)start_time = now - timedelta(minutes=10)@@ -120,8 +120,6 @@ def test_pods_accuracy("podMemory","podMemoryRequest","podMemoryLimit",- "podPhase",- "podCountsByPhase","podStatus","podCountsByStatus","podRestarts",@@ -130,11 +128,6 @@ def test_pods_accuracy():assert field in record, f"missing {field} in {record!r}"- # Five phase buckets always present, integer-typed.- for bucket in ("pending", "running", "succeeded", "failed", "unknown"):- assert bucket in record["podCountsByPhase"], f"missing phase bucket {bucket} in {record['podCountsByPhase']!r}"- assert isinstance(record["podCountsByPhase"][bucket], int)-# All status buckets always present, integer-typed.for bucket in STATUS_BUCKETS:assert bucket in record["podCountsByStatus"], f"missing status bucket {bucket} in {record['podCountsByStatus']!r}"@@ -152,8 +145,6 @@ def test_pods_accuracy("podMemoryLimit",):assert compare_values(record[field], exp[field], 1e-9), f"{pod_name}.{field}: got {record[field]}, expected {exp[field]}"- assert record["podPhase"] == exp["podPhase"]- assert record["podCountsByPhase"] == exp["podCountsByPhase"]assert record["podStatus"] == exp["podStatus"], f"{pod_name}.podStatus: got {record['podStatus']}, expected {exp['podStatus']}"assert record["podCountsByStatus"] == exp["podCountsByStatus"], f"{pod_name}.podCountsByStatus mismatch: got {record['podCountsByStatus']}"assert record["podRestarts"] == exp["podRestarts"], f"{pod_name}.podRestarts: got {record['podRestarts']}, expected {exp['podRestarts']}"@@ -392,167 +383,6 @@ def test_pods_filter_invalid(assert any(err_substr in e["message"] for e in body["error"]["errors"]), f"{err_substr!r} not surfaced: {body['error']['errors']!r}"-# Pod names per phase, as seeded in pods_phases.jsonl.-_PHASE_TO_POD_NAME = {- "pending": "pend-p",- "running": "run-p",- "succeeded": "succ-p",- "failed": "fail-p",- "unknown": "unk-p",-}--- "phase_name",- [- pytest.param("pending", id="pending"),- pytest.param("running", id="running"),- pytest.param("succeeded", id="succeeded"),- pytest.param("failed", id="failed"),- pytest.param("unknown", id="unknown"),- ],-)-def test_pods_phase_counts_list_mode(- signoz: types.SigNoz,- create_user_admin: None, # pylint: disable=unused-argument- get_token,- insert_metrics,- phase_name: str,-) -> None:- """List mode (no groupBy): each pod's record carries podPhase derived from its- latest k8s.pod.phase sample, AND podCountsByPhase has exactly that bucket=1- with all others 0. Verifies the phase-derivation logic at pods.go:82-94.- """- now = datetime.now(tz=UTC).replace(microsecond=0)- insert_metrics(- _load_pods_metrics(- "inframonitoring/pods_phases.jsonl",- base_time=now - timedelta(minutes=4),- )- )-- pod_name = _PHASE_TO_POD_NAME[phase_name]- token = get_token(USER_ADMIN_EMAIL, USER_ADMIN_PASSWORD)- response = requests.post(- signoz.self.host_configs["8080"].get(ENDPOINT),- headers={"authorization": f"Bearer {token}"},- json={- "start": int((now - timedelta(minutes=5)).timestamp() * 1000),- "end": int(now.timestamp() * 1000),- "limit": 50,- "filter": {"expression": f"k8s.pod.name = '{pod_name}'"},- },- timeout=5,- )- assert response.status_code == HTTPStatus.OK, response.text- data = response.json()["data"]- assert data["total"] == 1- rec = data["records"][0]- assert rec["meta"]["k8s.pod.name"] == pod_name- assert rec["podPhase"] == phase_name- assert rec["podCountsByPhase"][phase_name] == 1- for other in {"pending", "running", "succeeded", "failed", "unknown"} - {phase_name}:- assert rec["podCountsByPhase"][other] == 0, f"expected {other}=0 when latest phase={phase_name}, got {rec['podCountsByPhase']}"---def test_pods_phase_counts_latest_wins(- signoz: types.SigNoz,- create_user_admin: None, # pylint: disable=unused-argument- get_token,- insert_metrics,-) -> None:- """Pod with k8s.pod.phase transitioning pending->running across the window:- podPhase reflects the LATEST sample (running) via argMax, not the earliest.- """- now = datetime.now(tz=UTC).replace(microsecond=0)- insert_metrics(- _load_pods_metrics(- "inframonitoring/pods_phases_transition.jsonl",- base_time=now - timedelta(minutes=8),- )- )-- token = get_token(USER_ADMIN_EMAIL, USER_ADMIN_PASSWORD)- response = requests.post(- signoz.self.host_configs["8080"].get(ENDPOINT),- headers={"authorization": f"Bearer {token}"},- json={- "start": int((now - timedelta(minutes=10)).timestamp() * 1000),- "end": int(now.timestamp() * 1000),- "limit": 50,- },- timeout=5,- )- assert response.status_code == HTTPStatus.OK, response.text- data = response.json()["data"]- assert data["total"] == 1- rec = data["records"][0]- assert rec["meta"]["k8s.pod.name"] == "trans-p"- assert rec["podPhase"] == "running"- assert rec["podCountsByPhase"]["running"] == 1- assert rec["podCountsByPhase"]["pending"] == 0---def test_pods_phase_counts_grouped_mode(- signoz: types.SigNoz,- create_user_admin: None, # pylint: disable=unused-argument- get_token,- insert_metrics,-) -> None:- """groupBy=[k8s.namespace.name] aggregates phase counts across all pods in- the group. podPhase becomes "no_data" because no single pod identifies the- group, and per-pod fields (podUID, podAge, meta) clear out.- Dataset: ns-mixed contains 3 running + 2 failed + 1 pending.- See pods.go:80-95 (list-vs-grouped phase handling).- """- now = datetime.now(tz=UTC).replace(microsecond=0)- insert_metrics(- _load_pods_metrics(- "inframonitoring/pods_phases_grouped.jsonl",- base_time=now - timedelta(minutes=4),- )- )-- token = get_token(USER_ADMIN_EMAIL, USER_ADMIN_PASSWORD)- response = requests.post(- signoz.self.host_configs["8080"].get(ENDPOINT),- headers={"authorization": f"Bearer {token}"},- json={- "start": int((now - timedelta(minutes=5)).timestamp() * 1000),- "end": int(now.timestamp() * 1000),- "limit": 50,- "groupBy": [- {- "name": "k8s.namespace.name",- "fieldDataType": "string",- "fieldContext": "resource",- }- ],- },- timeout=5,- )- assert response.status_code == HTTPStatus.OK, response.text- data = response.json()["data"]- assert data["total"] == 1- rec = data["records"][0]-- # Grouped-mode invariants: per-pod fields cleared, but meta surfaces the- # groupBy key so the client can identify the group.- assert rec["podUID"] == ""- assert rec["podAge"] == -1- assert rec["podPhase"] == "no_data"- assert rec["meta"].get("k8s.namespace.name") == "ns-mixed"-- # Aggregated phase counts across the namespace.- assert rec["podCountsByPhase"] == {- "pending": 1,- "running": 3,- "succeeded": 0,- "failed": 2,- "unknown": 0,- }--@pytest.mark.parametrize("group_key,expected_groups",[@@ -569,7 +399,7 @@ def test_pods_groupby(expected_groups: set,) -> None:"""groupBy aggregates 2 pods per group into one record. Per-pod identity- fields (uid, age, phase) are cleared, but meta must surface the groupBy+ fields (uid, age, status) are cleared, but meta must surface the groupBykey so the client can identify each group."""now = datetime.now(tz=UTC).replace(microsecond=0)@@ -606,15 +436,11 @@ def test_pods_groupby(groups_seen = set()for rec in data["records"]:assert rec["podUID"] == ""- assert rec["podPhase"] == "no_data"+ assert rec["podStatus"] == "no_data"assert rec["podAge"] == -1# meta surfaces the groupBy key so the client can identify the group.assert group_key in rec["meta"], rec["meta"]groups_seen.add(rec["meta"][group_key])- # Each group has 2 running pods.- assert rec["podCountsByPhase"]["running"] == 2- for other in ("pending", "succeeded", "failed", "unknown"):- assert rec["podCountsByPhase"][other] == 0assert groups_seen == expected_groups@@ -744,11 +570,6 @@ def test_pods_orderby( # pylint: disable=too-many-arguments,too-many-positional"invalid order by key",id="orderby_invalid_key",),- pytest.param(- {"orderBy": {"key": {"name": "phase"}, "direction": "desc"}},- "invalid order by key",- id="orderby_phase_rejected",- ),pytest.param({"orderBy": {"key": {"name": "cpu"}, "direction": "up"}},"invalid order by direction",diff --git a/tests/integration/tests/inframonitoring/03_nodes.py b/tests/integration/tests/inframonitoring/03_nodes.pyindex ee28c09ab0..a93a5ab1d8 100644--- a/tests/integration/tests/inframonitoring/03_nodes.py+++ b/tests/integration/tests/inframonitoring/03_nodes.py@@ -67,7 +67,6 @@ def test_nodes_accuracy("nodeName","condition","nodeCountsByReadiness",- "podCountsByPhase","nodeCPU","nodeCPUAllocatable","nodeMemory",@@ -78,8 +77,6 @@ def test_nodes_accuracy(for bucket in ("ready", "notReady"):assert bucket in record["nodeCountsByReadiness"]- for bucket in ("pending", "running", "succeeded", "failed", "unknown"):- assert bucket in record["podCountsByPhase"]assert record["meta"].get("k8s.node.name") == record["nodeName"]assert "k8s.node.uid" in record["meta"]@@ -91,7 +88,6 @@ def test_nodes_accuracy(assert compare_values(record[field], exp[field], 1e-6), f"{record['nodeName']}.{field}: got {record[field]}, expected {exp[field]}"assert record["condition"] == exp["condition"]assert record["nodeCountsByReadiness"] == exp["nodeCountsByReadiness"]- assert record["podCountsByPhase"] == exp["podCountsByPhase"]@pytest.mark.parametrize(@@ -452,79 +448,10 @@ def test_nodes_condition_grouped_mode(assert rec["condition"] == "no_data"# Aggregated condition counts across the cluster.assert rec["nodeCountsByReadiness"] == {"ready": 2, "notReady": 1}- # Pod-phase counts aggregated: 3 running pods (one per node).- assert rec["podCountsByPhase"]["running"] == 3- for other in ("pending", "succeeded", "failed", "unknown"):- assert rec["podCountsByPhase"][other] == 0# meta surfaces the groupBy key.assert rec["meta"].get("k8s.cluster.name") == "cluster-mixed"- "dataset,node_name,filter_expr,expected_counts",- [- # Node hosts 3 running + 2 failed pods: phase buckets aggregate correctly.- pytest.param(- "nodes_pod_phases.jsonl",- "pp-n1",- None,- {"pending": 0, "running": 3, "succeeded": 0, "failed": 2, "unknown": 0},- id="mixed_phases",- ),- # Node with no pods: all-zero buckets, node still appears. Filter on the- # node to ignore the carrier phantom (see test_nodes_condition_latest_wins).- pytest.param(- "nodes_no_pods.jsonl",- "no-pod-n",- "k8s.node.name = 'no-pod-n'",- {"pending": 0, "running": 0, "succeeded": 0, "failed": 0, "unknown": 0},- id="no_pods",- ),- ],-)-def test_nodes_pod_phase_counts(- signoz: types.SigNoz,- create_user_admin: None, # pylint: disable=unused-argument- get_token,- insert_metrics,- dataset: str,- node_name: str,- filter_expr,- expected_counts: dict,-) -> None:- """podCountsByPhase per node aggregates the pods scheduled on it (k8s.pod.phase- joined via k8s.node.name). A node with no pods reports all-zero buckets and- still appears in the result."""- now = datetime.now(tz=UTC).replace(microsecond=0)- insert_metrics(- Metrics.load_from_file(- get_testdata_file_path(f"inframonitoring/{dataset}"),- base_time=now - timedelta(minutes=4),- )- )-- token = get_token(USER_ADMIN_EMAIL, USER_ADMIN_PASSWORD)- body = {- "start": int((now - timedelta(minutes=5)).timestamp() * 1000),- "end": int(now.timestamp() * 1000),- "limit": 50,- }- if filter_expr is not None:- body["filter"] = {"expression": filter_expr}- response = requests.post(- signoz.self.host_configs["8080"].get(ENDPOINT),- headers={"authorization": f"Bearer {token}"},- json=body,- timeout=5,- )- assert response.status_code == HTTPStatus.OK, response.text- data = response.json()["data"]- assert data["total"] == 1- rec = data["records"][0]- assert rec["nodeName"] == node_name- assert rec["podCountsByPhase"] == expected_counts--@pytest.mark.parametrize("group_key,expected",[@@ -533,10 +460,10 @@ def test_nodes_pod_phase_counts(pytest.param("k8s.node.name",{- "gb-a-us": {"condition": "ready", "readiness": {"ready": 1, "notReady": 0}, "running": 1},- "gb-a-eu": {"condition": "ready", "readiness": {"ready": 1, "notReady": 0}, "running": 1},- "gb-b-us": {"condition": "ready", "readiness": {"ready": 1, "notReady": 0}, "running": 1},- "gb-b-eu": {"condition": "ready", "readiness": {"ready": 1, "notReady": 0}, "running": 1},+ "gb-a-us": {"condition": "ready", "readiness": {"ready": 1, "notReady": 0}},+ "gb-a-eu": {"condition": "ready", "readiness": {"ready": 1, "notReady": 0}},+ "gb-b-us": {"condition": "ready", "readiness": {"ready": 1, "notReady": 0}},+ "gb-b-eu": {"condition": "ready", "readiness": {"ready": 1, "notReady": 0}},},id="node_name",),@@ -545,8 +472,8 @@ def test_nodes_pod_phase_counts(pytest.param("k8s.cluster.name",{- "gb-cluster-a": {"condition": "no_data", "readiness": {"ready": 2, "notReady": 0}, "running": 2},- "gb-cluster-b": {"condition": "no_data", "readiness": {"ready": 2, "notReady": 0}, "running": 2},+ "gb-cluster-a": {"condition": "no_data", "readiness": {"ready": 2, "notReady": 0}},+ "gb-cluster-b": {"condition": "no_data", "readiness": {"ready": 2, "notReady": 0}},},id="cluster",),@@ -560,9 +487,9 @@ def test_nodes_groupby(group_key: str,expected: dict,) -> None:- """groupBy returns one record per distinct group with aggregated readiness- and pod-phase counts. nodeName is populated and condition is derived only- when grouping by k8s.node.name (nodes.go:69-76 list-vs-grouped branch)."""+ """groupBy returns one record per distinct group with aggregated readiness.+ nodeName is populated and condition is derived only when grouping by+ k8s.node.name (nodes.go:69-76 list-vs-grouped branch)."""now = datetime.now(tz=UTC).replace(microsecond=0)insert_metrics(Metrics.load_from_file(@@ -603,7 +530,6 @@ def test_nodes_groupby(assert rec["nodeName"] == (group if group_key == "k8s.node.name" else "")assert rec["condition"] == exp["condition"]assert rec["nodeCountsByReadiness"] == exp["readiness"]- assert rec["podCountsByPhase"]["running"] == exp["running"]assert group_key in rec["meta"], rec["meta"]diff --git a/tests/integration/tests/inframonitoring/04_namespaces.py b/tests/integration/tests/inframonitoring/04_namespaces.pyindex 26d889bb9c..3724bfe078 100644--- a/tests/integration/tests/inframonitoring/04_namespaces.py+++ b/tests/integration/tests/inframonitoring/04_namespaces.py@@ -23,7 +23,7 @@ def test_namespaces_accuracy(insert_metrics,) -> None:"""Seed 2 namespaces x 3 metrics; assert response shape/contract + exact- per-namespace metric values and podCountsByPhase.+ per-namespace metric values.Tests v1-parity expectation: SpaceAggregationSum across pods within anamespace (pods_query.go A=cpu, D=memory both use Sum, namespaces.go:225@@ -73,15 +73,11 @@ def test_namespaces_accuracy("namespaceName","namespaceCPU","namespaceMemory",- "podCountsByPhase","counts","meta",):assert field in record, f"missing {field} in {record!r}"- for bucket in ("pending", "running", "succeeded", "failed", "unknown"):- assert bucket in record["podCountsByPhase"]- assert isinstance(record["podCountsByPhase"][bucket], int)for bucket in ("deployments", "daemonSets", "jobs", "statefulSets"):assert bucket in record["counts"]assert isinstance(record["counts"][bucket], int)@@ -93,7 +89,6 @@ def test_namespaces_accuracy(exp = exp_by_name[record["namespaceName"]]for field in ("namespaceCPU", "namespaceMemory"):assert compare_values(record[field], exp[field], 1e-6), f"{record['namespaceName']}.{field}: got {record[field]}, expected {exp[field]}"- assert record["podCountsByPhase"] == exp["podCountsByPhase"]assert record["counts"] == exp["counts"]@@ -314,48 +309,6 @@ def test_namespaces_filter_invalid(assert any(err_substr in e["message"] for e in body["error"]["errors"]), f"{err_substr!r} not surfaced: {body['error']['errors']!r}"-def test_namespaces_pod_phase_aggregation(- signoz: types.SigNoz,- create_user_admin: None, # pylint: disable=unused-argument- get_token,- insert_metrics,-) -> None:- """Namespace with mixed pod phases: podCountsByPhase aggregates correctly.- Dataset: 4 running + 1 pending + 2 failed pods all in pp-ns."""- now = datetime.now(tz=UTC).replace(microsecond=0)- insert_metrics(- Metrics.load_from_file(- get_testdata_file_path("inframonitoring/namespaces_pod_phases.jsonl"),- base_time=now - timedelta(minutes=4),- )- )-- token = get_token(USER_ADMIN_EMAIL, USER_ADMIN_PASSWORD)- response = requests.post(- signoz.self.host_configs["8080"].get(ENDPOINT),- headers={"authorization": f"Bearer {token}"},- json={- "start": int((now - timedelta(minutes=5)).timestamp() * 1000),- "end": int(now.timestamp() * 1000),- "limit": 50,- "filter": {"expression": "k8s.namespace.name = 'pp-ns'"},- },- timeout=5,- )- assert response.status_code == HTTPStatus.OK, response.text- data = response.json()["data"]- assert data["total"] == 1- rec = data["records"][0]- assert rec["namespaceName"] == "pp-ns"- assert rec["podCountsByPhase"] == {- "pending": 1,- "running": 4,- "succeeded": 0,- "failed": 2,- "unknown": 0,- }--# Float record fields compared with tolerance; everything else compared with ==._GROUPBY_FLOAT_FIELDS = {"namespaceCPU",@@ -363,10 +316,6 @@ _GROUPBY_FLOAT_FIELDS = {}-def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:- return {"pending": pending, "running": running, "succeeded": succeeded, "failed": failed, "unknown": unknown}--@pytest.mark.parametrize("scenario",[@@ -381,10 +330,10 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"group_meta_keys": ["k8s.namespace.name"],"expected_type": "grouped_list","groups": {- "gb-ns-1": {"namespaceName": "gb-ns-1", "podCountsByPhase": _phase(running=1)},- "gb-ns-2": {"namespaceName": "gb-ns-2", "podCountsByPhase": _phase(running=1)},- "gb-ns-3": {"namespaceName": "gb-ns-3", "podCountsByPhase": _phase(running=1)},- "gb-ns-4": {"namespaceName": "gb-ns-4", "podCountsByPhase": _phase(running=1)},+ "gb-ns-1": {"namespaceName": "gb-ns-1"},+ "gb-ns-2": {"namespaceName": "gb-ns-2"},+ "gb-ns-3": {"namespaceName": "gb-ns-3"},+ "gb-ns-4": {"namespaceName": "gb-ns-4"},},},id="namespace_name",@@ -399,8 +348,8 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"group_meta_keys": ["k8s.cluster.name"],"expected_type": "grouped_list","groups": {- "gb-cluster-a": {"namespaceName": "", "podCountsByPhase": _phase(running=2)},- "gb-cluster-b": {"namespaceName": "", "podCountsByPhase": _phase(running=2)},+ "gb-cluster-a": {"namespaceName": ""},+ "gb-cluster-b": {"namespaceName": ""},},},id="cluster",@@ -425,20 +374,17 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"namespaceName": "dup-ns","namespaceCPU": 0.3,"namespaceMemory": 100000000.0,- "podCountsByPhase": _phase(running=1),},("dup-ns", "cluster-b"): {"namespaceName": "dup-ns","namespaceCPU": 0.5,"namespaceMemory": 300000000.0,- "podCountsByPhase": _phase(failed=1),},# empty-cluster group: k8s.cluster.name label absent on the source pods.("dup-ns", ""): {"namespaceName": "dup-ns","namespaceCPU": 0.1,"namespaceMemory": 200000000.0,- "podCountsByPhase": _phase(pending=1),},},},diff --git a/tests/integration/tests/inframonitoring/05_clusters.py b/tests/integration/tests/inframonitoring/05_clusters.pyindex a4687b58b4..c4e0a17179 100644--- a/tests/integration/tests/inframonitoring/05_clusters.py+++ b/tests/integration/tests/inframonitoring/05_clusters.py@@ -24,7 +24,7 @@ def test_clusters_accuracy(insert_metrics,) -> None:"""Assert response shape/contract + exact per-cluster metric sums + node- readiness + pod phase counts.+ readiness.SpaceAggregationSum across nodes per cluster (clusters_constants.go:62,82,100,119).acc-cluster-1: 2 nodes @ cpu=0.5, alloc_cpu=4, mem=1e9, alloc_mem=8e9@@ -77,7 +77,6 @@ def test_clusters_accuracy("clusterMemory","clusterMemoryAllocatable","nodeCountsByReadiness",- "podCountsByPhase","counts","meta",):@@ -86,9 +85,6 @@ def test_clusters_accuracy(for bucket in ("ready", "notReady"):assert bucket in record["nodeCountsByReadiness"]assert isinstance(record["nodeCountsByReadiness"][bucket], int)- for bucket in ("pending", "running", "succeeded", "failed", "unknown"):- assert bucket in record["podCountsByPhase"]- assert isinstance(record["podCountsByPhase"][bucket], int)for bucket in ("nodes", "namespaces", "deployments", "daemonSets", "jobs", "statefulSets"):assert bucket in record["counts"]assert isinstance(record["counts"][bucket], int)@@ -105,7 +101,6 @@ def test_clusters_accuracy():assert compare_values(record[field], exp[field], 1e-6), f"{record['clusterName']}.{field}: got {record[field]}, expected {exp[field]}"assert record["nodeCountsByReadiness"] == exp["nodeCountsByReadiness"]- assert record["podCountsByPhase"] == exp["podCountsByPhase"]assert record["counts"] == exp["counts"]@@ -369,47 +364,6 @@ def test_clusters_node_readiness_aggregation(assert rec["nodeCountsByReadiness"] == {"ready": 3, "notReady": 2}-def test_clusters_pod_phase_aggregation(- signoz: types.SigNoz,- create_user_admin: None, # pylint: disable=unused-argument- get_token,- insert_metrics,-) -> None:- """Cluster with mixed pod phases: 4 running + 1 pending + 2 failed."""- now = datetime.now(tz=UTC).replace(microsecond=0)- insert_metrics(- Metrics.load_from_file(- get_testdata_file_path("inframonitoring/clusters_pod_phases.jsonl"),- base_time=now - timedelta(minutes=4),- )- )-- token = get_token(USER_ADMIN_EMAIL, USER_ADMIN_PASSWORD)- response = requests.post(- signoz.self.host_configs["8080"].get(ENDPOINT),- headers={"authorization": f"Bearer {token}"},- json={- "start": int((now - timedelta(minutes=5)).timestamp() * 1000),- "end": int(now.timestamp() * 1000),- "limit": 50,- "filter": {"expression": "k8s.cluster.name = 'pp-cluster'"},- },- timeout=5,- )- assert response.status_code == HTTPStatus.OK, response.text- data = response.json()["data"]- assert data["total"] == 1- rec = data["records"][0]- assert rec["clusterName"] == "pp-cluster"- assert rec["podCountsByPhase"] == {- "pending": 1,- "running": 4,- "succeeded": 0,- "failed": 2,- "unknown": 0,- }--def test_clusters_pod_status_aggregation(signoz: types.SigNoz,create_user_admin: None, # pylint: disable=unused-argument@@ -447,8 +401,6 @@ def test_clusters_pod_status_aggregation(rec = data["records"][0]assert rec["clusterName"] == "pp-cluster"assert rec["podCountsByStatus"] == expected_status_counts(running=3, crashLoopBackOff=1, error=1, evicted=1, pending=1)- # Phase counts unchanged by the status enrichment.- assert rec["podCountsByPhase"] == {"pending": 1, "running": 4, "succeeded": 0, "failed": 2, "unknown": 0}# All status metrics present -> gate satisfied -> no status warning.assert all("Pod status could not be computed" not in w["message"] for w in get_all_warnings(response.json()))@@ -461,10 +413,10 @@ def test_clusters_pod_status_aggregation(pytest.param("k8s.cluster.name",{- "gb-gcp-1": {"readiness": {"ready": 1, "notReady": 0}, "running": 1},- "gb-gcp-2": {"readiness": {"ready": 1, "notReady": 0}, "running": 1},- "gb-aws-1": {"readiness": {"ready": 1, "notReady": 0}, "running": 1},- "gb-aws-2": {"readiness": {"ready": 1, "notReady": 0}, "running": 1},+ "gb-gcp-1": {"readiness": {"ready": 1, "notReady": 0}},+ "gb-gcp-2": {"readiness": {"ready": 1, "notReady": 0}},+ "gb-aws-1": {"readiness": {"ready": 1, "notReady": 0}},+ "gb-aws-2": {"readiness": {"ready": 1, "notReady": 0}},},id="cluster_name",),@@ -473,8 +425,8 @@ def test_clusters_pod_status_aggregation(pytest.param("cloud.provider",{- "gcp": {"readiness": {"ready": 2, "notReady": 0}, "running": 2},- "aws": {"readiness": {"ready": 2, "notReady": 0}, "running": 2},+ "gcp": {"readiness": {"ready": 2, "notReady": 0}},+ "aws": {"readiness": {"ready": 2, "notReady": 0}},},id="cloud_provider",),@@ -488,10 +440,9 @@ def test_clusters_groupby(group_key: str,expected: dict,) -> None:- """groupBy returns one record per distinct group with aggregated readiness- and pod-phase counts. clusterName is populated only when grouping by- k8s.cluster.name (clusters.go:29-32 list-vs-grouped branch); meta surfaces- the groupBy key."""+ """groupBy returns one record per distinct group with aggregated readiness.+ clusterName is populated only when grouping by k8s.cluster.name+ (clusters.go:29-32 list-vs-grouped branch); meta surfaces the groupBy key."""now = datetime.now(tz=UTC).replace(microsecond=0)insert_metrics(Metrics.load_from_file(@@ -532,9 +483,6 @@ def test_clusters_groupby(# empty otherwise.assert rec["clusterName"] == (group if group_key == "k8s.cluster.name" else "")assert rec["nodeCountsByReadiness"] == exp["readiness"]- assert rec["podCountsByPhase"]["running"] == exp["running"]- for other in ("pending", "succeeded", "failed", "unknown"):- assert rec["podCountsByPhase"][other] == 0assert group_key in rec["meta"], rec["meta"]diff --git a/tests/integration/tests/inframonitoring/07_deployments.py b/tests/integration/tests/inframonitoring/07_deployments.pyindex c3c334d498..131acb20ba 100644--- a/tests/integration/tests/inframonitoring/07_deployments.py+++ b/tests/integration/tests/inframonitoring/07_deployments.py@@ -24,7 +24,7 @@ def test_deployments_accuracy(insert_metrics,) -> None:"""Assert response shape/contract + exact per-deployment metric values,- replica counts, and phase counts against precomputed expected output.+ replica counts against precomputed expected output.Locks in Sum vs Avg split across pod-level metrics(deployments_constants.go:79-198): A/D = SpaceAggregationSum across pods;@@ -78,7 +78,6 @@ def test_deployments_accuracy("deploymentMemoryLimit","desiredPods","availablePods",- "podCountsByPhase","meta",):assert field in record, f"missing {field} in {record!r}"@@ -87,10 +86,6 @@ def test_deployments_accuracy(assert isinstance(record["desiredPods"], int)assert isinstance(record["availablePods"], int)- for bucket in ("pending", "running", "succeeded", "failed", "unknown"):- assert bucket in record["podCountsByPhase"]- assert isinstance(record["podCountsByPhase"][bucket], int)-assert record["meta"].get("k8s.deployment.name") == record["deploymentName"]assert "k8s.namespace.name" in record["meta"]assert "k8s.cluster.name" in record["meta"]@@ -108,7 +103,6 @@ def test_deployments_accuracy(assert compare_values(record[field], exp[field], 1e-6), f"{record['deploymentName']}.{field}: got {record[field]}, expected {exp[field]}"assert record["desiredPods"] == exp["desiredPods"]assert record["availablePods"] == exp["availablePods"]- assert record["podCountsByPhase"] == exp["podCountsByPhase"]@pytest.mark.parametrize(@@ -345,47 +339,6 @@ def test_deployments_filter_invalid(assert any(err_substr in e["message"] for e in body["error"]["errors"]), f"{err_substr!r} not surfaced: {body['error']['errors']!r}"-def test_deployments_pod_phase_aggregation(- signoz: types.SigNoz,- create_user_admin: None, # pylint: disable=unused-argument- get_token,- insert_metrics,-) -> None:- """Deployment with mixed pod phases: 4 Running + 1 Pending + 2 Failed."""- now = datetime.now(tz=UTC).replace(microsecond=0)- insert_metrics(- Metrics.load_from_file(- get_testdata_file_path("inframonitoring/deployments_pod_phases.jsonl"),- base_time=now - timedelta(minutes=4),- )- )-- token = get_token(USER_ADMIN_EMAIL, USER_ADMIN_PASSWORD)- response = requests.post(- signoz.self.host_configs["8080"].get(ENDPOINT),- headers={"authorization": f"Bearer {token}"},- json={- "start": int((now - timedelta(minutes=5)).timestamp() * 1000),- "end": int(now.timestamp() * 1000),- "limit": 50,- "filter": {"expression": "k8s.deployment.name = 'pp-dep'"},- },- timeout=5,- )- assert response.status_code == HTTPStatus.OK, response.text- data = response.json()["data"]- assert data["total"] == 1- rec = data["records"][0]- assert rec["deploymentName"] == "pp-dep"- assert rec["podCountsByPhase"] == {- "pending": 1,- "running": 4,- "succeeded": 0,- "failed": 2,- "unknown": 0,- }--def test_deployments_pod_status_aggregation(signoz: types.SigNoz,create_user_admin: None, # pylint: disable=unused-argument@@ -423,8 +376,6 @@ def test_deployments_pod_status_aggregation(rec = data["records"][0]assert rec["deploymentName"] == "pp-dep"assert rec["podCountsByStatus"] == expected_status_counts(running=3, crashLoopBackOff=1, error=1, evicted=1, pending=1)- # Phase counts unchanged by the status enrichment.- assert rec["podCountsByPhase"] == {"pending": 1, "running": 4, "succeeded": 0, "failed": 2, "unknown": 0}# All status metrics present -> gate satisfied -> no status warning.assert all("Pod status could not be computed" not in w["message"] for w in get_all_warnings(response.json()))@@ -436,7 +387,7 @@ def test_deployments_desired_available_counts(insert_metrics,) -> None:"""desired=5, available=3 from k8s.deployment.* metrics; only 2 Running pods seeded.- Distinguishes replica counts from phase counts (separate code paths)."""+ Distinguishes replica counts from pod counts (separate code paths)."""now = datetime.now(tz=UTC).replace(microsecond=0)insert_metrics(Metrics.load_from_file(@@ -466,7 +417,6 @@ def test_deployments_desired_available_counts(assert isinstance(rec["availablePods"], int)assert rec["desiredPods"] == 5assert rec["availablePods"] == 3- assert rec["podCountsByPhase"]["running"] == 2def test_deployments_base_filter_drops_non_deployment_pods(@@ -517,10 +467,6 @@ _GROUPBY_FLOAT_FIELDS = {}-def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:- return {"pending": pending, "running": running, "succeeded": succeeded, "failed": failed, "unknown": unknown}--@pytest.mark.parametrize("scenario",[@@ -535,10 +481,10 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"group_meta_keys": ["k8s.deployment.name"],"expected_type": "grouped_list","groups": {- "gb-dep-a1": {"deploymentName": "gb-dep-a1", "podCountsByPhase": _phase(running=1)},- "gb-dep-a2": {"deploymentName": "gb-dep-a2", "podCountsByPhase": _phase(running=1)},- "gb-dep-b1": {"deploymentName": "gb-dep-b1", "podCountsByPhase": _phase(running=1)},- "gb-dep-b2": {"deploymentName": "gb-dep-b2", "podCountsByPhase": _phase(running=1)},+ "gb-dep-a1": {"deploymentName": "gb-dep-a1"},+ "gb-dep-a2": {"deploymentName": "gb-dep-a2"},+ "gb-dep-b1": {"deploymentName": "gb-dep-b1"},+ "gb-dep-b2": {"deploymentName": "gb-dep-b2"},},},id="deployment_name",@@ -553,8 +499,8 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"group_meta_keys": ["k8s.namespace.name"],"expected_type": "grouped_list","groups": {- "gb-ns-a": {"deploymentName": "", "podCountsByPhase": _phase(running=2)},- "gb-ns-b": {"deploymentName": "", "podCountsByPhase": _phase(running=2)},+ "gb-ns-a": {"deploymentName": ""},+ "gb-ns-b": {"deploymentName": ""},},},id="namespace",@@ -585,7 +531,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"deploymentMemoryLimit": 0.7,"desiredPods": 2,"availablePods": 2,- "podCountsByPhase": _phase(running=1),},("dup-dep", "ns-y", "cluster-a"): {"deploymentName": "dup-dep",@@ -597,7 +542,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"deploymentMemoryLimit": 0.3,"desiredPods": 3,"availablePods": 1,- "podCountsByPhase": _phase(failed=1),},("dup-dep", "ns-x", "cluster-b"): {"deploymentName": "dup-dep",@@ -609,7 +553,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"deploymentMemoryLimit": 0.5,"desiredPods": 4,"availablePods": 4,- "podCountsByPhase": _phase(running=1),},# empty-cluster group: k8s.cluster.name label absent on the source pods.("dup-dep", "ns-x", ""): {@@ -622,7 +565,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"deploymentMemoryLimit": 0.1,"desiredPods": 1,"availablePods": 0,- "podCountsByPhase": _phase(pending=1),},},},diff --git a/tests/integration/tests/inframonitoring/08_statefulsets.py b/tests/integration/tests/inframonitoring/08_statefulsets.pyindex b12bee32f9..fc748c3069 100644--- a/tests/integration/tests/inframonitoring/08_statefulsets.py+++ b/tests/integration/tests/inframonitoring/08_statefulsets.py@@ -23,7 +23,7 @@ def test_statefulsets_accuracy(insert_metrics,) -> None:"""Assert response shape/contract + exact per-SS metric values, replica- counts, and phase counts against precomputed expected output.+ counts against precomputed expected output.Locks in Sum vs Avg split across pod-level metrics(statefulsets_constants.go:79-198): A/D = SpaceAggregationSum across pods;@@ -77,7 +77,6 @@ def test_statefulsets_accuracy("statefulSetMemoryLimit","desiredPods","currentPods",- "podCountsByPhase","meta",):assert field in record, f"missing {field} in {record!r}"@@ -86,10 +85,6 @@ def test_statefulsets_accuracy(assert isinstance(record["desiredPods"], int)assert isinstance(record["currentPods"], int)- for bucket in ("pending", "running", "succeeded", "failed", "unknown"):- assert bucket in record["podCountsByPhase"]- assert isinstance(record["podCountsByPhase"][bucket], int)-assert record["meta"].get("k8s.statefulset.name") == record["statefulSetName"]assert "k8s.namespace.name" in record["meta"]assert "k8s.cluster.name" in record["meta"]@@ -107,7 +102,6 @@ def test_statefulsets_accuracy(assert compare_values(record[field], exp[field], 1e-6), f"{record['statefulSetName']}.{field}: got {record[field]}, expected {exp[field]}"assert record["desiredPods"] == exp["desiredPods"]assert record["currentPods"] == exp["currentPods"]- assert record["podCountsByPhase"] == exp["podCountsByPhase"]@pytest.mark.parametrize(@@ -259,47 +253,6 @@ def test_statefulsets_filter_invalid(assert any(err_substr in e["message"] for e in body["error"]["errors"]), f"{err_substr!r} not surfaced: {body['error']['errors']!r}"-def test_statefulsets_pod_phase_aggregation(- signoz: types.SigNoz,- create_user_admin: None, # pylint: disable=unused-argument- get_token,- insert_metrics,-) -> None:- """StatefulSet with mixed pod phases: 4 Running + 1 Pending + 2 Failed."""- now = datetime.now(tz=UTC).replace(microsecond=0)- insert_metrics(- Metrics.load_from_file(- get_testdata_file_path("inframonitoring/statefulsets_pod_phases.jsonl"),- base_time=now - timedelta(minutes=4),- )- )-- token = get_token(USER_ADMIN_EMAIL, USER_ADMIN_PASSWORD)- response = requests.post(- signoz.self.host_configs["8080"].get(ENDPOINT),- headers={"authorization": f"Bearer {token}"},- json={- "start": int((now - timedelta(minutes=5)).timestamp() * 1000),- "end": int(now.timestamp() * 1000),- "limit": 50,- "filter": {"expression": "k8s.statefulset.name = 'pp-ss'"},- },- timeout=5,- )- assert response.status_code == HTTPStatus.OK, response.text- data = response.json()["data"]- assert data["total"] == 1- rec = data["records"][0]- assert rec["statefulSetName"] == "pp-ss"- assert rec["podCountsByPhase"] == {- "pending": 1,- "running": 4,- "succeeded": 0,- "failed": 2,- "unknown": 0,- }--def test_statefulsets_desired_current_counts(signoz: types.SigNoz,create_user_admin: None, # pylint: disable=unused-argument@@ -307,7 +260,7 @@ def test_statefulsets_desired_current_counts(insert_metrics,) -> None:"""desired=5, current=3 from k8s.statefulset.* metrics; only 2 Running pods seeded.- Distinguishes replica counts from phase counts (separate code paths)."""+ Distinguishes replica counts from pod counts (separate code paths)."""now = datetime.now(tz=UTC).replace(microsecond=0)insert_metrics(Metrics.load_from_file(@@ -337,7 +290,6 @@ def test_statefulsets_desired_current_counts(assert isinstance(rec["currentPods"], int)assert rec["desiredPods"] == 5assert rec["currentPods"] == 3- assert rec["podCountsByPhase"]["running"] == 2def test_statefulsets_base_filter_drops_non_statefulset_pods(@@ -388,10 +340,6 @@ _GROUPBY_FLOAT_FIELDS = {}-def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:- return {"pending": pending, "running": running, "succeeded": succeeded, "failed": failed, "unknown": unknown}--@pytest.mark.parametrize("scenario",[@@ -406,10 +354,10 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"group_meta_keys": ["k8s.statefulset.name"],"expected_type": "grouped_list","groups": {- "gb-ss-a1": {"statefulSetName": "gb-ss-a1", "podCountsByPhase": _phase(running=1)},- "gb-ss-a2": {"statefulSetName": "gb-ss-a2", "podCountsByPhase": _phase(running=1)},- "gb-ss-b1": {"statefulSetName": "gb-ss-b1", "podCountsByPhase": _phase(running=1)},- "gb-ss-b2": {"statefulSetName": "gb-ss-b2", "podCountsByPhase": _phase(running=1)},+ "gb-ss-a1": {"statefulSetName": "gb-ss-a1"},+ "gb-ss-a2": {"statefulSetName": "gb-ss-a2"},+ "gb-ss-b1": {"statefulSetName": "gb-ss-b1"},+ "gb-ss-b2": {"statefulSetName": "gb-ss-b2"},},},id="statefulset_name",@@ -424,8 +372,8 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"group_meta_keys": ["k8s.namespace.name"],"expected_type": "grouped_list","groups": {- "gb-ns-a": {"statefulSetName": "", "podCountsByPhase": _phase(running=2)},- "gb-ns-b": {"statefulSetName": "", "podCountsByPhase": _phase(running=2)},+ "gb-ns-a": {"statefulSetName": ""},+ "gb-ns-b": {"statefulSetName": ""},},},id="namespace",@@ -456,7 +404,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"statefulSetMemoryLimit": 0.7,"desiredPods": 2,"currentPods": 2,- "podCountsByPhase": _phase(running=1),},("dup-ss", "ns-y", "cluster-a"): {"statefulSetName": "dup-ss",@@ -468,7 +415,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"statefulSetMemoryLimit": 0.3,"desiredPods": 3,"currentPods": 1,- "podCountsByPhase": _phase(failed=1),},("dup-ss", "ns-x", "cluster-b"): {"statefulSetName": "dup-ss",@@ -480,7 +426,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"statefulSetMemoryLimit": 0.5,"desiredPods": 4,"currentPods": 4,- "podCountsByPhase": _phase(running=1),},# empty-cluster group: k8s.cluster.name label absent on the source pods.("dup-ss", "ns-x", ""): {@@ -493,7 +438,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"statefulSetMemoryLimit": 0.1,"desiredPods": 1,"currentPods": 0,- "podCountsByPhase": _phase(pending=1),},},},diff --git a/tests/integration/tests/inframonitoring/09_jobs.py b/tests/integration/tests/inframonitoring/09_jobs.pyindex ca5de142b3..6d3f63a1cd 100644--- a/tests/integration/tests/inframonitoring/09_jobs.py+++ b/tests/integration/tests/inframonitoring/09_jobs.py@@ -23,7 +23,7 @@ def test_jobs_accuracy(insert_metrics,) -> None:"""Assert response shape/contract + exact per-job metric values, all 4- lifecycle counts, and phase counts against precomputed expected output.+ lifecycle counts against precomputed expected output.Locks in Sum vs Avg split across pod-level metrics(jobs_constants.go:81-198): A/D = SpaceAggregationSum across pods;@@ -80,7 +80,6 @@ def test_jobs_accuracy("activePods","failedPods","successfulPods",- "podCountsByPhase","meta",):assert field in record, f"missing {field} in {record!r}"@@ -89,10 +88,6 @@ def test_jobs_accuracy(for int_field in ("desiredSuccessfulPods", "activePods", "failedPods", "successfulPods"):assert isinstance(record[int_field], int), f"{int_field} should be int, got {type(record[int_field]).__name__}"- for bucket in ("pending", "running", "succeeded", "failed", "unknown"):- assert bucket in record["podCountsByPhase"]- assert isinstance(record["podCountsByPhase"][bucket], int)-assert record["meta"].get("k8s.job.name") == record["jobName"]assert "k8s.namespace.name" in record["meta"]assert "k8s.cluster.name" in record["meta"]@@ -110,7 +105,6 @@ def test_jobs_accuracy(assert compare_values(record[field], exp[field], 1e-6), f"{record['jobName']}.{field}: got {record[field]}, expected {exp[field]}"for int_field in ("desiredSuccessfulPods", "activePods", "failedPods", "successfulPods"):assert record[int_field] == exp[int_field], f"{record['jobName']}.{int_field}: got {record[int_field]}, expected {exp[int_field]}"- assert record["podCountsByPhase"] == exp["podCountsByPhase"]@pytest.mark.parametrize(@@ -348,47 +342,6 @@ def test_jobs_filter_invalid(assert any(err_substr in e["message"] for e in body["error"]["errors"]), f"{err_substr!r} not surfaced: {body['error']['errors']!r}"-def test_jobs_pod_phase_aggregation(- signoz: types.SigNoz,- create_user_admin: None, # pylint: disable=unused-argument- get_token,- insert_metrics,-) -> None:- """Job with mixed pod phases: 2 Running + 3 Succeeded + 1 Failed (in-progress)."""- now = datetime.now(tz=UTC).replace(microsecond=0)- insert_metrics(- Metrics.load_from_file(- get_testdata_file_path("inframonitoring/jobs_pod_phases.jsonl"),- base_time=now - timedelta(minutes=4),- )- )-- token = get_token(USER_ADMIN_EMAIL, USER_ADMIN_PASSWORD)- response = requests.post(- signoz.self.host_configs["8080"].get(ENDPOINT),- headers={"authorization": f"Bearer {token}"},- json={- "start": int((now - timedelta(minutes=5)).timestamp() * 1000),- "end": int(now.timestamp() * 1000),- "limit": 50,- "filter": {"expression": "k8s.job.name = 'pp-job'"},- },- timeout=5,- )- assert response.status_code == HTTPStatus.OK, response.text- data = response.json()["data"]- assert data["total"] == 1- rec = data["records"][0]- assert rec["jobName"] == "pp-job"- assert rec["podCountsByPhase"] == {- "pending": 0,- "running": 2,- "succeeded": 3,- "failed": 1,- "unknown": 0,- }--def test_jobs_lifecycle_counts(signoz: types.SigNoz,create_user_admin: None, # pylint: disable=unused-argument@@ -396,9 +349,8 @@ def test_jobs_lifecycle_counts(insert_metrics,) -> None:"""Lifecycle counters (active=2, failed=1, successful=3, desired_successful=4)- are independent of pod phase counts. Seed deliberately mismatches: 1 Pending pod- only. Validates the 4 int counters come straight from k8s.job.* metrics, not- derived from observable pod phases (cumulative counters vs latest phase)."""+ come straight from k8s.job.* metrics. Validates the 4 int counters are the+ cumulative kube-state-metric values (not derived from pod state)."""now = datetime.now(tz=UTC).replace(microsecond=0)insert_metrics(Metrics.load_from_file(@@ -430,14 +382,6 @@ def test_jobs_lifecycle_counts(assert rec["activePods"] == 2assert rec["failedPods"] == 1assert rec["successfulPods"] == 3- # Pod phase counts deliberately disagree: only 1 Pending pod seeded.- assert rec["podCountsByPhase"] == {- "pending": 1,- "running": 0,- "succeeded": 0,- "failed": 0,- "unknown": 0,- }def test_jobs_completed_job(@@ -478,7 +422,6 @@ def test_jobs_completed_job(assert rec["failedPods"] == 0, f"failedPods=0 leaked sentinel: {rec['failedPods']}"assert rec["successfulPods"] == 3assert rec["desiredSuccessfulPods"] == 3- assert rec["podCountsByPhase"]["succeeded"] == 3def test_jobs_base_filter_drops_non_job_pods(@@ -529,10 +472,6 @@ _GROUPBY_FLOAT_FIELDS = {}-def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:- return {"pending": pending, "running": running, "succeeded": succeeded, "failed": failed, "unknown": unknown}--@pytest.mark.parametrize("scenario",[@@ -546,10 +485,10 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"group_meta_keys": ["k8s.job.name"],"expected_type": "grouped_list","groups": {- "gb-job-a1": {"jobName": "gb-job-a1", "podCountsByPhase": _phase(running=1)},- "gb-job-a2": {"jobName": "gb-job-a2", "podCountsByPhase": _phase(running=1)},- "gb-job-b1": {"jobName": "gb-job-b1", "podCountsByPhase": _phase(running=1)},- "gb-job-b2": {"jobName": "gb-job-b2", "podCountsByPhase": _phase(running=1)},+ "gb-job-a1": {"jobName": "gb-job-a1"},+ "gb-job-a2": {"jobName": "gb-job-a2"},+ "gb-job-b1": {"jobName": "gb-job-b1"},+ "gb-job-b2": {"jobName": "gb-job-b2"},},},id="job_name",@@ -564,8 +503,8 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"group_meta_keys": ["k8s.namespace.name"],"expected_type": "grouped_list","groups": {- "gb-ns-a": {"jobName": "", "podCountsByPhase": _phase(running=2)},- "gb-ns-b": {"jobName": "", "podCountsByPhase": _phase(running=2)},+ "gb-ns-a": {"jobName": ""},+ "gb-ns-b": {"jobName": ""},},},id="namespace",@@ -598,7 +537,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"activePods": 2,"failedPods": 0,"successfulPods": 0,- "podCountsByPhase": _phase(running=1),},("dup-job", "ns-y", "cluster-a"): {"jobName": "dup-job",@@ -612,7 +550,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"activePods": 1,"failedPods": 1,"successfulPods": 1,- "podCountsByPhase": _phase(failed=1),},("dup-job", "ns-x", "cluster-b"): {"jobName": "dup-job",@@ -626,7 +563,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"activePods": 2,"failedPods": 1,"successfulPods": 1,- "podCountsByPhase": _phase(running=1),},# empty-cluster group: k8s.cluster.name label absent on the source pods.("dup-job", "ns-x", ""): {@@ -641,7 +577,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"activePods": 1,"failedPods": 0,"successfulPods": 0,- "podCountsByPhase": _phase(pending=1),},},},diff --git a/tests/integration/tests/inframonitoring/10_daemonsets.py b/tests/integration/tests/inframonitoring/10_daemonsets.pyindex 94cb04c3d7..9a4c92a25e 100644--- a/tests/integration/tests/inframonitoring/10_daemonsets.py+++ b/tests/integration/tests/inframonitoring/10_daemonsets.py@@ -23,7 +23,7 @@ def test_daemonsets_accuracy(insert_metrics,) -> None:"""Assert response shape/contract + exact per-DS metric values, node- counts, and phase counts against precomputed expected output.+ counts against precomputed expected output.Locks in Sum vs Avg split across pod-level metrics(daemonsets_constants.go:79-198): A/D = SpaceAggregationSum across pods;@@ -79,7 +79,6 @@ def test_daemonsets_accuracy("currentNodes","readyNodes","misscheduledNodes",- "podCountsByPhase","meta",):assert field in record, f"missing {field} in {record!r}"@@ -90,10 +89,6 @@ def test_daemonsets_accuracy(assert isinstance(record["readyNodes"], int)assert isinstance(record["misscheduledNodes"], int)- for bucket in ("pending", "running", "succeeded", "failed", "unknown"):- assert bucket in record["podCountsByPhase"]- assert isinstance(record["podCountsByPhase"][bucket], int)-assert record["meta"].get("k8s.daemonset.name") == record["daemonSetName"]assert "k8s.namespace.name" in record["meta"]assert "k8s.cluster.name" in record["meta"]@@ -113,7 +108,6 @@ def test_daemonsets_accuracy(assert record["currentNodes"] == exp["currentNodes"]assert record["readyNodes"] == exp["readyNodes"]assert record["misscheduledNodes"] == exp["misscheduledNodes"]- assert record["podCountsByPhase"] == exp["podCountsByPhase"]@pytest.mark.parametrize(@@ -265,47 +259,6 @@ def test_daemonsets_filter_invalid(assert any(err_substr in e["message"] for e in body["error"]["errors"]), f"{err_substr!r} not surfaced: {body['error']['errors']!r}"-def test_daemonsets_pod_phase_aggregation(- signoz: types.SigNoz,- create_user_admin: None, # pylint: disable=unused-argument- get_token,- insert_metrics,-) -> None:- """DaemonSet with mixed pod phases: 4 Running + 1 Pending + 2 Failed."""- now = datetime.now(tz=UTC).replace(microsecond=0)- insert_metrics(- Metrics.load_from_file(- get_testdata_file_path("inframonitoring/daemonsets_pod_phases.jsonl"),- base_time=now - timedelta(minutes=4),- )- )-- token = get_token(USER_ADMIN_EMAIL, USER_ADMIN_PASSWORD)- response = requests.post(- signoz.self.host_configs["8080"].get(ENDPOINT),- headers={"authorization": f"Bearer {token}"},- json={- "start": int((now - timedelta(minutes=5)).timestamp() * 1000),- "end": int(now.timestamp() * 1000),- "limit": 50,- "filter": {"expression": "k8s.daemonset.name = 'pp-ds'"},- },- timeout=5,- )- assert response.status_code == HTTPStatus.OK, response.text- data = response.json()["data"]- assert data["total"] == 1- rec = data["records"][0]- assert rec["daemonSetName"] == "pp-ds"- assert rec["podCountsByPhase"] == {- "pending": 1,- "running": 4,- "succeeded": 0,- "failed": 2,- "unknown": 0,- }--def test_daemonsets_desired_current_counts(signoz: types.SigNoz,create_user_admin: None, # pylint: disable=unused-argument@@ -314,7 +267,7 @@ def test_daemonsets_desired_current_counts() -> None:"""desired=5, current=3 from k8s.daemonset.* metrics; 2 Running pods seeded.Models node-scheduling lag (DS targets 5 nodes, 3 currently scheduled,- pod metrics from 2 of them only). Distinguishes node counts from phase counts."""+ pod metrics from 2 of them only). Distinguishes node counts from pod counts."""now = datetime.now(tz=UTC).replace(microsecond=0)insert_metrics(Metrics.load_from_file(@@ -344,7 +297,6 @@ def test_daemonsets_desired_current_counts(assert isinstance(rec["currentNodes"], int)assert rec["desiredNodes"] == 5assert rec["currentNodes"] == 3- assert rec["podCountsByPhase"]["running"] == 2def test_daemonsets_base_filter_drops_non_daemonset_pods(@@ -395,10 +347,6 @@ _GROUPBY_FLOAT_FIELDS = {}-def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:- return {"pending": pending, "running": running, "succeeded": succeeded, "failed": failed, "unknown": unknown}--@pytest.mark.parametrize("scenario",[@@ -413,10 +361,10 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"group_meta_keys": ["k8s.daemonset.name"],"expected_type": "grouped_list","groups": {- "gb-ds-a1": {"daemonSetName": "gb-ds-a1", "podCountsByPhase": _phase(running=1)},- "gb-ds-a2": {"daemonSetName": "gb-ds-a2", "podCountsByPhase": _phase(running=1)},- "gb-ds-b1": {"daemonSetName": "gb-ds-b1", "podCountsByPhase": _phase(running=1)},- "gb-ds-b2": {"daemonSetName": "gb-ds-b2", "podCountsByPhase": _phase(running=1)},+ "gb-ds-a1": {"daemonSetName": "gb-ds-a1"},+ "gb-ds-a2": {"daemonSetName": "gb-ds-a2"},+ "gb-ds-b1": {"daemonSetName": "gb-ds-b1"},+ "gb-ds-b2": {"daemonSetName": "gb-ds-b2"},},},id="daemonset_name",@@ -431,8 +379,8 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"group_meta_keys": ["k8s.namespace.name"],"expected_type": "grouped_list","groups": {- "gb-ns-a": {"daemonSetName": "", "podCountsByPhase": _phase(running=2)},- "gb-ns-b": {"daemonSetName": "", "podCountsByPhase": _phase(running=2)},+ "gb-ns-a": {"daemonSetName": ""},+ "gb-ns-b": {"daemonSetName": ""},},},id="namespace",@@ -463,7 +411,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"daemonSetMemoryLimit": 0.7,"desiredNodes": 2,"currentNodes": 2,- "podCountsByPhase": _phase(running=1),},("dup-ds", "ns-y", "cluster-a"): {"daemonSetName": "dup-ds",@@ -475,7 +422,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"daemonSetMemoryLimit": 0.3,"desiredNodes": 3,"currentNodes": 1,- "podCountsByPhase": _phase(failed=1),},("dup-ds", "ns-x", "cluster-b"): {"daemonSetName": "dup-ds",@@ -487,7 +433,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"daemonSetMemoryLimit": 0.5,"desiredNodes": 4,"currentNodes": 4,- "podCountsByPhase": _phase(running=1),},# empty-cluster group: k8s.cluster.name label absent on the source pods.("dup-ds", "ns-x", ""): {@@ -500,7 +445,6 @@ def _phase(pending=0, running=0, succeeded=0, failed=0, unknown=0) -> dict:"daemonSetMemoryLimit": 0.1,"desiredNodes": 1,"currentNodes": 0,- "podCountsByPhase": _phase(pending=1),},},},