metrics

package
v0.0.0-...-c00b355 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProviderWebsockets = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "registration_relay_provider_websockets",
		Help: "Active providers with open websockets",
	})
)

Functions

func TrackHTTPMetrics

func TrackHTTPMetrics(next http.Handler) http.Handler

Types

type PrometheusMetricsHandler

type PrometheusMetricsHandler struct {
	// contains filtered or unexported fields
}

func NewPrometheusMetricsHandler

func NewPrometheusMetricsHandler(listen string) *PrometheusMetricsHandler

func (*PrometheusMetricsHandler) Start

func (mh *PrometheusMetricsHandler) Start()

func (*PrometheusMetricsHandler) Stop

func (mh *PrometheusMetricsHandler) Stop()

Jump to

Keyboard shortcuts

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