monitor

package
v0.0.0-...-1b09624 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MONITER_NAME_HISTOGRAM_STATISTICS = "statistics"
	MONITER_NAME_GAUGE_STATE          = "state"
	MONITER_NAME_HISTOGRAM_DEPENDENCE = "dependence"
	MONITER_NAME_COUNTER_PANIC        = "panic"
	MONITER_NAME_COUNTER_EXCEPTION    = "exception"
	MONITER_NAME_HISTOGRAM_STRATEGY   = "strategy"
)

Variables

This section is empty.

Functions

func Init

func Init(srvName, cluster string) error

func UpdateDependence

func UpdateDependence(service string, function string, value int64, err error)

func UpdateException

func UpdateException(name string, source string, index string)

func UpdateIndexState

func UpdateIndexState(source string, index string, value int64)

func UpdatePanic

func UpdatePanic(source string)

func UpdateStatistics

func UpdateStatistics(module string, value int64)

func UpdateStrategy

func UpdateStrategy(strategy string, name string, value int64, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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