monitors

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: NCSA Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config = &monitorsConfig{
		done: make(chan struct{}),
	}
	DefaultMonitors = []string{
		"pprof",

		"expvar",
		"gops",
		"memory",
	}
)

Functions

func AddRoutes

func AddRoutes(e *echo.Echo) error

Types

type Expvar

type Expvar struct{}

func (Expvar) Routes

func (p Expvar) Routes(e *echo.Echo) error

type Pprof

type Pprof struct{}

func (Pprof) Routes

func (p Pprof) Routes(e *echo.Echo) error

Jump to

Keyboard shortcuts

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