monitor

package
v0.19.9 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

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

func GetMonitor

func GetMonitor(method string, logger log.Logger, metrics map[string]*RpcMetrics) *Monitor

func (*Monitor) OnBegin

func (m *Monitor) OnBegin() *Monitor

func (*Monitor) OnEnd

func (m *Monitor) OnEnd(args ...interface{})

type RpcMetrics

type RpcMetrics struct {
	Counter   metrics.Counter
	Histogram metrics.Histogram
}

RpcMetrics ...

Jump to

Keyboard shortcuts

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