metrics

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Namespace = "livepeer"
	Subsystem = "analyzer"
	Factory   = promauto.With(prometheus.DefaultRegisterer)
)
View Source
var (
	Version = Factory.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: FQName("version"),
			Help: "Current Git SHA / Tag that's running. Incremented once on app startup.",
		},
		[]string{"app", "version"},
	)
)

Functions

func FQName

func FQName(name string) string

func ObservedHandler

func ObservedHandler(apiName string, handler http.Handler) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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