prometheus / prometheus/node_exporter

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

Open
#2,640 2 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
13.8k
Forks
2.7k
Avg merge
1d 23h
Merged PRs (30d)
8

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the /proc/vmallocinfo input and reproduce the documented grep/awk command to understand the BPF JIT value being measured. Done means an optional, disabled-by-default collector exposes this usage so it can be observed and used for alerting.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
observability, operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.