Re: [go-nuts] Measuring cpu usage for a tree of goroutines

2020-05-12 Thread Steve Canfield
be > acceptable? > > > > There are no limits on labels other than memory usage. > > > > Ian > > > >>> On Tue, May 12, 2020 at 12:06 PM Ian Lance Taylor > wrote: > >>> > >>> On Tue, May 12, 2020 at 10:31 AM Steve Canfield > >>>

Re: [go-nuts] Measuring cpu usage for a tree of goroutines

2020-05-12 Thread Steve Canfield
Thanks Ian. Are there limits on how many such labels exist for the life of the process, or can be active at once? Would labeling by rpc_guid be acceptable? On Tue, May 12, 2020 at 12:06 PM Ian Lance Taylor wrote: > On Tue, May 12, 2020 at 10:31 AM Steve Canfield > wrote: > > >

Re: [go-nuts] Measuring cpu usage for a tree of goroutines

2020-05-12 Thread Steve Canfield
standard pprof/profile will do cpu time profiling. > > This is all you really need to do the profiling. > > On May 11, 2020, at 10:58 PM, Steve Canfield > wrote: > > Thanks, but what about the "I can't enable profiling for every request" > bit? Assume it's actua

Re: [go-nuts] Measuring cpu usage for a tree of goroutines

2020-05-11 Thread Steve Canfield
Thanks, but what about the "I can't enable profiling for every request" bit? Assume it's actually important for me to know the cpu consumption on a per request basis. On Mon, May 11, 2020 at 4:55 PM Robert Engels wrote: > Look at pprof labels. > > On May 11, 2020, at 6:29 PM, Steven Canfield >