metrics

package
v0.0.0-...-1bce007 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// RequestProcessed defines a Prometheus counter for a total of redirect requests processed (by response code)
	RequestProcessed = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Namespace: namespace,
			Name:      "requests_processed_total",
			Help:      "Number of total redirect requests processed by response code.",
		},
		[]string{"code"},
	)
)

Functions

func RegisterAll

func RegisterAll()

RegisterAll registers all the app's Prometheus metrics

Types

This section is empty.

Jump to

Keyboard shortcuts

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