profiling

package
v1.3.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, log logrus.FieldLogger, cfg *config.Config, applicationName string, defaultPprofPort int)

Start starts the profiling backends enabled in cfg.

  • profiling.pprof.enabled → loopback net/http/pprof
  • profiling.pyroscope.enabled → push profiles to a Pyroscope server

applicationName is used for Pyroscope when profiling.pyroscope.applicationName is unset (e.g. "flightctl-worker"). defaultPprofPort is used when profiling.pprof.port is unset.

Types

This section is empty.

Jump to

Keyboard shortcuts

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