Documentation ¶
Overview ¶
Package pprofutil contains helpers for runtime/pprof.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LabelHandler ¶
LabelHandler adds "http-path" profiler label to the given handler. If you want to start new goroutines from h, propagate the labels by passing handler's incoming request's context.
func LabelHandlerFunc ¶
LabelHandlerFunc adds "http-path" profiler label to the given handler function. If you want to start new goroutines from h, propagate the labels by passing r.Context().
func UnaryServerInterceptor ¶
func UnaryServerInterceptor() grpc.UnaryServerInterceptor
UnaryServerInterceptor allows you to profile gRPC server handlers.
Prrof data can be filtered by "grpc.method" tags once instrumented by this interceptor.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.