metrics

package
v0.0.0-...-613ab89 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UpdatedFeedsCounter = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "molo_updated_feeds_counter",
		Help: "The total number of updated feeds",
	}, []string{"userID", "status"})
)

Functions

func Handler

func Handler() http.Handler

func NewMiddleware

func NewMiddleware() func(next http.Handler) http.Handler

Types

type MetricsMiddleware

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

Jump to

Keyboard shortcuts

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