profiling

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	caddy_profiling.Parameters
	ProfilersRaw []json.RawMessage `json:"profilers,omitempty" caddy:"namespace=profiling.profiler inline_key=profiler"`
	// contains filtered or unexported fields
}

The `profiling` app hosts the collection of push-based profiling agents with common profiling parameters acorss the Caddy instance.

func (*App) CaddyModule

func (*App) CaddyModule() caddy.ModuleInfo

CaddyModule implements caddy.Module

func (*App) Provision

func (a *App) Provision(ctx caddy.Context) error

Provision implements caddy.Provisioner

func (*App) Start

func (a *App) Start() (err error)

Starts all the child profilers to initiate the periodic push

func (*App) Stop

func (a *App) Stop() (err error)

Stops all the child profilers to halt the periodic push

Jump to

Keyboard shortcuts

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