metrics

package
v0.0.0-...-dfd90ba Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServePrometheusHTTP

func ServePrometheusHTTP(addr string)

Types

type PrometheusMetrics

type PrometheusMetrics interface {
	SetupMetrics() error
	ExecutionTime() *prometheus.HistogramVec
	ErrorsHits() *prometheus.CounterVec
	SuccessHits() *prometheus.CounterVec
	TotalHits() prometheus.Counter
}

func NewPrometheusMetrics

func NewPrometheusMetrics(serviceName string) PrometheusMetrics

Jump to

Keyboard shortcuts

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