Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: add debug/pprof/ui/cpu/?node=all endpoint for cluster-wide CPU profile #102734

Merged
merged 1 commit into from
May 23, 2023

Commits on May 23, 2023

  1. server: add debug/pprof/ui/cpu/?node=all endpoint for cluster-wide …

    …CPU profile
    
    This change adds a debug endpoint to the status server that collects
    a CPU profiles from all nodes in the cluster and merges them before
    rendering the profile. The merge is performed using `pprof.Merge`
    https://pkg.go.dev/github.com/google/pprof/profile#Merge.
    
    A future patch will teach the jobs page to filter out samples from
    this cluster-wide profile that are only labelled with the job's job ID.
    In this way a user can get the cluster-wide CPU profile for a particular
    job making it easier to identify the cause for a hotspot or a
    performance regression.
    
    Release note: None
    adityamaru committed May 23, 2023
    Configuration menu
    Copy the full SHA
    c471994 View commit details
    Browse the repository at this point in the history