Skip to content

feat: add fgprof debug pprof (wall-time profiling capability)#18027

Merged
bwplotka merged 1 commit intomainfrom
fgprof
Feb 6, 2026
Merged

feat: add fgprof debug pprof (wall-time profiling capability)#18027
bwplotka merged 1 commit intomainfrom
fgprof

Conversation

@bwplotka
Copy link
Member

@bwplotka bwplotka commented Feb 6, 2026

Proposing to add a useful and popular wall-time profiler (https://github.com/felixge/fgprof) we could use on demand through debug/pprof/fgprof.

It's proven to be useful and safe in the past (e.g. we use it in Thanos binaries)

Does this PR introduce a user-facing change?

[FEATURE] web: add on-demand wall time profiling under `<URL>/debug/pprof/fgprof` (see https://github.com/felixge/fgprof)

@bwplotka bwplotka requested a review from a team as a code owner February 6, 2026 09:33
@bwplotka bwplotka requested a review from breed808 February 6, 2026 09:33
@bwplotka bwplotka requested a review from bboreham February 6, 2026 09:45
Signed-off-by: bwplotka <bwplotka@gmail.com>
Copy link
Member

@krajorama krajorama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stamp, claims to be very low overhead when not in use

@bwplotka bwplotka merged commit 3155c95 into main Feb 6, 2026
32 checks passed
@bwplotka bwplotka deleted the fgprof branch February 6, 2026 10:23
wbollock pushed a commit to wbollock/prometheus that referenced this pull request Feb 6, 2026
…heus#18027)

Signed-off-by: bwplotka <bwplotka@gmail.com>
Signed-off-by: Will Bollock <wbollock@linode.com>
wbollock pushed a commit to wbollock/prometheus that referenced this pull request Feb 6, 2026
wbollock pushed a commit to wbollock/prometheus that referenced this pull request Feb 6, 2026
wbollock pushed a commit to wbollock/prometheus that referenced this pull request Feb 6, 2026
wbollock pushed a commit to wbollock/prometheus that referenced this pull request Feb 6, 2026
wbollock pushed a commit to wbollock/prometheus that referenced this pull request Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants