OOM-Kill Integration: clarify when kernel headers are Required to be Installed
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- linux
- Domain
- documentation
Research direction
Start with the OOM Kill integration documentation page and locate the section that currently says kernel headers must be installed. Verify the BTF check and the distribution-specific requirements against the reported Amazon Linux 2023 behavior, then update the wording and table so the prerequisites are accurate and clear.
Written by the indexing model from the issue text.
Description
Documentation Page
https://docs.datadoghq.com/integrations/oom-kill/
Issue Description
Within the OOM Kill documentation it is suggested that kernel-headers must be installed - this does not seem to be correct as 1) I have a distribution of Amazon Linux 2023 running ECS which is sending OOM Kills and have not installed kernel-devel and 2) claude states that if BTF is support built-in (which is as simple as checking for the file /sys/kernel/btf/vmlinux) the kernel headers package is not required.
My own configuration is shown below
[root@ip-10-2-54-189 ~]# dnf list installed kernel-devel
Error: No matching Packages to list
[root@ip-10-2-54-189 ~]# dnf search kernel-headers
Last metadata expiration check: 1 day, 15:39:49 ago on Sat Jun 13 00:43:35 2026.
==================================================================================== Name Exactly Matched: kernel-headers ====================================================================================
kernel-headers.aarch64 : Header files for the Linux kernel for use by glibc
Suggestion
I would modify the section on installing kernel headers similar to the below:
In order to operate properly, the OOM Kill integration requires either that your kernel ships with BTF built in (shown in the table below, or confirmed by running ls /sys/kernel/btf/vmlinux) or that kernel headers are installed using the command shown in the Kernel Headers Install Command column.
┌───────────────────┬──────────────┬───────────────────────────────────────┐
│ Distribution │ BTF Built-in │ Kernel Headers Install Command │
├───────────────────┼──────────────┼───────────────────────────────────────┤
│ Amazon Linux 2 │ No │ yum install kernel-devel-$(uname -r) │
├───────────────────┼──────────────┼───────────────────────────────────────┤
│ Amazon Linux 2023 │ Yes │ N/A │
├───────────────────┼──────────────┼───────────────────────────────────────┤
│ Debian 10 │ No │ apt install linux-headers-$(uname -r) │
├───────────────────┼──────────────┼───────────────────────────────────────┤
│ Debian 11+ │ Yes │ N/A │
├───────────────────┼──────────────┼───────────────────────────────────────┤
│ RHEL/CentOS 7/8 │ No │ yum install kernel-devel-$(uname -r) │
├───────────────────┼──────────────┼───────────────────────────────────────┤
│ RHEL/CentOS 9+ │ Yes │ N/A │
├───────────────────┼──────────────┼───────────────────────────────────────┤
│ Ubuntu 18.04 │ No │ apt install linux-headers-$(uname -r) │
├───────────────────┼──────────────┼───────────────────────────────────────┤
│ Ubuntu 20.04+ │ Yes │ N/A │
└───────────────────┴──────────────┴───────────────────────────────────────┘
- Dominant language
- JavaScript
- Stars
- 621
- Forks
- 1.3k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 441
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DataDog/documentation
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
DataDog/documentation#39746 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
DataDog/documentation#38651 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
DataDog/documentation#37078 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DataDog/documentation#36762 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
DataDog/documentation#36300 · 1 comment ·
Maintainers usually reply within 1 day
All issues in DataDog/documentation
Similar issues
-
Harden bayesian-waves-bg.js: add prefers-reduced-motion, pointer-events guard, and hidden-tab pauseOpen
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
njitacm/njit-acm-website#109 ·
-
type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
blamechris/chroxy#8579 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
modusensus/dsh-mneme#411 ·
-
Flaky (suspected): VideoTimelineEditor bed audio test sees 600px instead of 120px under CI loadOpen
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day