metrics

package
v0.44.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoopMorphCacheMetrics

type NoopMorphCacheMetrics struct{}

func (*NoopMorphCacheMetrics) AddMethodDuration

func (m *NoopMorphCacheMetrics) AddMethodDuration(string, bool, time.Duration)

type NoopRegister

type NoopRegister struct{}

func (NoopRegister) IncNotificationCount

func (NoopRegister) IncNotificationCount(string)

func (NoopRegister) IncSwitchCount

func (NoopRegister) IncSwitchCount()

func (NoopRegister) ObserveInvoke

func (NoopRegister) ObserveInvoke(string, string, string, bool, time.Duration)

func (NoopRegister) SetLastBlock

func (NoopRegister) SetLastBlock(uint32)

type Register

type Register interface {
	IncSwitchCount()
	SetLastBlock(uint32)
	IncNotificationCount(notificationType string)
	ObserveInvoke(typ string, contract string, method string, success bool, d time.Duration)
}

Jump to

Keyboard shortcuts

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