Skip to content

Commit 241765b

Browse files
committed
chore(monitor): use memory_working_set_bytes replace memory_usage_bytes
1 parent 64b4ffc commit 241765b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rootfs/api/monitor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
pod_name,
7474
container_name,
7575
round(EXTRACT(EPOCH FROM time_bucket('{every}', time))) as timestamp,
76-
max(memory_usage_bytes) as max,
77-
round(avg(memory_usage_bytes)) as avg
76+
max(memory_working_set_bytes) as max,
77+
round(avg(memory_working_set_bytes)) as avg
7878
FROM kubernetes_pod_container
7979
LEFT OUTER JOIN kubernetes_pod_container_tag
8080
ON kubernetes_pod_container.tag_id = kubernetes_pod_container_tag.tag_id

0 commit comments

Comments
 (0)