pproflib

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2023 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package pproflib defines a client-side proxy and server-side implementation of the v.io/v23/services/pprof interface.

It is functionally equivalent to http://golang.org/pkg/net/http/pprof/, except that the data comes from a remote vanadium server, and the handlers are not registered in DefaultServeMux.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPProfService

func NewPProfService() interface{}

NewPProfService returns a new pprof service implementation.

func PprofProxy

func PprofProxy(ctx *context.T, pathPrefix, name string) http.Handler

PprofProxy returns an http.Handler implements to serve profile information of a remote process with the vanadium object name 'name'.

The handler assumes that it is serving paths under "pathPrefix".

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL