metrics

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 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 {
	Registrer         prometheus.Registerer
	RequestFailures   prometheus.Counter
	ResponseStatus    prometheus_CounterVec
	ConnectionLatency prometheus.Histogram
	InformDuration    prometheus.Histogram
	ConcurrentInforms prometheus.Gauge
}

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