debug

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CPUUsage added in v0.0.33

func CPUUsage(interval time.Duration) map[string]interface{}

func DiskUsage added in v0.0.33

func DiskUsage(path string) map[string]interface{}

Types

type Reporter added in v0.0.34

type Reporter struct {
	// contains filtered or unexported fields
}

func NewReporter added in v0.0.34

func NewReporter(l *logrus.Logger, s *storage.Storage, c *config.Server, reg prometheus.Registerer) *Reporter

func (*Reporter) Start added in v0.0.34

func (d *Reporter) Start()

func (*Reporter) Stop added in v0.0.34

func (d *Reporter) Stop()

Jump to

Keyboard shortcuts

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