-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
kubectlIt is in the kubectl plugin spaceIt is in the kubectl plugin space
Description
I would like to have a command that does go tool pprof with the right value for me.
So I am thinking about two things:
kubectl profefe pprof <profile_id>
Fetching profile over HTTP from http://localhost:10100/api/0/profiles/<profile_id>
Saved profile in /home/gianarb/pprof/pprof.queryd.alloc_objects.alloc_space.inuse_objects.inuse_space.002.pb.gz
File: queryd
Build ID: 44dcff18a83acb2297e8fb8c209662cd7c3b27a5
type=heap
url=http://10.154.237.244:8093/debug/pprof
Type: inuse_space
Time: Jan 22, 2020 at 2:06am (CET)
Entering interactive mode (type "help" for commands, "o" for options)
(pprof)
To get into the interactive pprof console from a profile_id
But I would also like to have a utility to get merged profiles:
kubectl profefe pprof --service web --from 20h --to 12h --profile_type heap
It brings you inside an interactive pprof console but with the merged profile for the specified time range
Metadata
Metadata
Assignees
Labels
kubectlIt is in the kubectl plugin spaceIt is in the kubectl plugin space