monitoring

package
v0.0.0-...-3d4bac1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartProfiler

func StartProfiler(l *zap.SugaredLogger, service string, meta config.BuildMeta, dev bool) error

StartProfiler starts a suitable background profiler based on environment variables

Types

type Flags

type Flags struct {
	Service string
	Errors  bool
	Profile bool
}

Flags denotes command-line flags for monitoring configuration

func (*Flags) Attach

func (f *Flags) Attach(flags *pflag.FlagSet, service string)

Attach attaches Flags' variables to the given flagset

Jump to

Keyboard shortcuts

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