-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(components/memory): use common db + dmesg poller for events, mov…
…e out of "dmesg" component (#324) c.f., #322 Tested: <img width="1538" alt="Screenshot 2025-01-25 at 10 38 26 AM" src="https://github.com/user-attachments/assets/89cbaebe-9e24-4343-a1a2-3883e592ca21" /> ```json "component": "memory", "startTime": "2024-11-15T04:48:56Z", "endTime": "2025-01-25T02:39:01.610443725Z", "events": [ { "time": "2025-01-25T02:38:04Z", "name": "memory_oom_kill_constraint", "type": "Warning", "message": "oom kill constraint detected", "extra_info": { "log_line": "oom-kill:constraint=CONSTRAINT_MEMCG,nodemask=(null),cpuset=cri-containerd-3fc28fa1c647ceede9f6b340d0b16c9f1f663698972d22a52e296f291638e014.scope,mems_allowed=0-1,oom_memcg=/lxc.payload.ny2g2r5hh3-lxc/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-poda8697f49_441d_4d4f_90d2_6d8e1fa3bbe7.slice,task_memcg=/lxc.payload.ny2g2r5hh3-lxc/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-poda8697f49_441d_4d4f_90d2_6d8e1fa3bbe7.slice/cri-containerd-3fc28fa1c647ceede9f6b340d0b16c9f1f663698972d22a52e296f291638e014.scope,task=node,pid=863987,uid=0" }, "suggested_actions": { "descriptions": null, "repair_actions": null } }, { "time": "2025-01-25T02:36:53Z", "name": "memory_oom_kill_constraint", "type": "Warning", "message": "oom kill constraint detected", "extra_info": { "log_line": "oom-kill:constraint=OTHER_CONSTRAINT" }, "suggested_actions": { "descriptions": null, "repair_actions": null } }, { "time": "2025-01-25T02:36:50Z", "name": "memory_oom_kill_constraint", "type": "Warning", "message": "oom kill constraint detected", "extra_info": { "log_line": "oom-kill:constraint=CONSTRAINT_MEMCG,nodemask=(null),cpuset=cri-containerd-3fc28fa1c647ceede9f6b340d0b16c9f1f663698972d22a52e296f291638e014.scope,mems_allowed=0-1,oom_memcg=/lxc.payload.ny2g2r5hh3-lxc/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-poda8697f49_441d_4d4f_90d2_6d8e1fa3bbe7.slice,task_memcg=/lxc.payload.ny2g2r5hh3-lxc/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-poda8697f49_441d_4d4f_90d2_6d8e1fa3bbe7.slice/cri-containerd-3fc28fa1c647ceede9f6b340d0b16c9f1f663698972d22a52e296f291638e014.scope,task=node,pid=863987,uid=0" }, "suggested_actions": { "descriptions": null, "repair_actions": null } }, { "time": "2025-01-25T02:36:46Z", "name": "memory_oom", "type": "Warning", "message": "oom detected", "extra_info": { "log_line": "Out of memory: Kill process 456 (python) score 50 or sacrifice child" }, "suggested_actions": { "descriptions": null, "repair_actions": null } }, { "time": "2025-01-25T02:36:42Z", "name": "memory_oom", "type": "Warning", "message": "oom detected", "extra_info": { "log_line": "Out of memory: Killed process 123, UID 48, (httpd)" }, "suggested_actions": { "descriptions": null, "repair_actions": null } } ] ``` --------- Signed-off-by: Gyuho Lee <[email protected]>
- Loading branch information
Showing
11 changed files
with
431 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.