monitor

package
v2.10.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogDuration

func LogDuration(t string, name string, duration int64)

func LogEvent

func LogEvent(t string, name string)

func LogTime

func LogTime(t string, name string, tm time.Time)

func StatsJson

func StatsJson() string

Types

type Stat

type Stat struct {
	Name    string
	Type    string
	Cnt     int64
	Sum     int64
	Avg     float64 // Sum / Cnt
	CntMean float64 // Cnt / Cap
	Cap     int32
}

func Stats

func Stats() []*Stat

Jump to

Keyboard shortcuts

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