profiler

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyNameOrServerAddress = errors.New("empty name or server address")

Functions

func Start

func Start(name, addr string, opts ...Option) (*pyroscope.Profiler, error)

Types

type Option

type Option func(c *pyroscope.Config)

func WithAuth

func WithAuth(user, pass string) Option

func WithDebug

func WithDebug(v bool) Option

func WithDisableGCRuns

func WithDisableGCRuns(v bool) Option

func WithProfileTypes

func WithProfileTypes(types []pyroscope.ProfileType) Option

func WithTags

func WithTags(tags map[string]string, merge bool) Option

func WithUploadRate

func WithUploadRate(rate time.Duration) Option

Jump to

Keyboard shortcuts

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