metrics

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	Bootstrapped        prometheus.Counter
	ConnectionLatency   prometheus.Histogram
	MethodCalls         prometheus_CounterVec
	RequestFailures     prometheus.Counter
	ResponseStatus      prometheus_CounterVec
	SessionsAttempted   prometheus.Counter
	SessionsEstablished prometheus.Counter
	SessionsCompleted   prometheus.Counter
	SessionDuration     prometheus_HistogramVec
	ConcurrentSessions  prometheus.Gauge
	InformEvents        prometheus_CounterVec
	ParametersRead      prometheus.Counter
	ParametersWritten   prometheus.Counter
}

func New

func New(reg prometheus.Registerer) *Metrics

func NewNoop

func NewNoop() *Metrics

Jump to

Keyboard shortcuts

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