autopyro

package
v0.0.0-...-737e41f Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enabled

func Enabled() bool

Enabled returns true if pyroscope profiler is enabled.

Types

type ShutdownFunc

type ShutdownFunc func(ctx context.Context) error

ShutdownFunc is a function that shuts down profiler.

func Setup

func Setup(ctx context.Context) (ShutdownFunc, error)

Setup pyroscope profiler.

Jump to

Keyboard shortcuts

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