prometheus / node_exporter

Exporter for machine metrics
https://prometheus.io/
Apache License 2.0
11.18k stars 2.36k forks source link

feat: optional disabled by default collector for /proc/vmallocinfo to make bpf jit usage observable #2640

Open stevo-f3 opened 1 year ago

stevo-f3 commented 1 year ago

For issues like https://github.com/awslabs/amazon-eks-ami/issues/1219 memory leak to be observable, support alerting, by exposing /proc/vmallocinfo from the node - we need an additional collector.

Current "workaround", of manually running

cat /proc/vmallocinfo | grep bpf_jit | awk '{s+=$2} END {print s}'

is suboptimal in many ways.

stevo-f3 commented 1 year ago

@SuperQ WDYT?

discordianfish commented 1 year ago

Seems reasonable. But parsing needs to go into procfs