metrics

package
v0.0.0-...-6b6d747 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Metrics = Vector{
	DurationCount: promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "duration_count",
		Help: "counter of duration seconds",
	}, []string{"type"}),
	DurationTotal: promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "duration_total",
		Help: "counter of total duration seconds",
	}, []string{"type"}),
}

Metrics is global metrics vector

Functions

This section is empty.

Types

type Vector

type Vector struct {
	DurationCount *prometheus.CounterVec
	DurationTotal *prometheus.CounterVec
}

Jump to

Keyboard shortcuts

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