monitor

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 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 added in v0.18.10

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