metrics

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const FailLabel = "fail"
View Source
const OpenLabel = "open"
View Source
const SuccessLabel = "success"

Variables

This section is empty.

Functions

func IncCounterVecWithLabelValues

func IncCounterVecWithLabelValues(counter *prometheus.CounterVec, name string, err error)

func IncCounterVecWithLabelValuesFiltered

func IncCounterVecWithLabelValuesFiltered(counter *prometheus.CounterVec, name string, err error, filters ...func(error) bool)

func ObserveRunner

func ObserveRunner(f func() runner.Result, observer prometheus.Histogram) func() runner.Result

Types

This section is empty.

Jump to

Keyboard shortcuts

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