Documentation ¶
Index ¶
- func CounterVec(prometheusRegisterer prometheus.Registerer, namespace, subsystem, name string, ...) *prometheus.CounterVec
- func Counters(prometheusRegisterer prometheus.Registerer, namespace, subsystem string, ...) map[string]prometheus.Counter
- func GaugeVec(prometheusRegisterer prometheus.Registerer, namespace, subsystem, name string, ...) *prometheus.GaugeVec
- type App
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CounterVec ¶ added in v4.25.2
func CounterVec(prometheusRegisterer prometheus.Registerer, namespace, subsystem, name string, labels ...string) *prometheus.CounterVec
CounterVec creates and register a counter vector
func Counters ¶ added in v4.25.2
func Counters(prometheusRegisterer prometheus.Registerer, namespace, subsystem string, names ...string) map[string]prometheus.Counter
Counters creates and registers counters
func GaugeVec ¶ added in v4.26.0
func GaugeVec(prometheusRegisterer prometheus.Registerer, namespace, subsystem, name string, labels ...string) *prometheus.GaugeVec
GaugeVec creates and register a gauge vector
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App of package
func (App) Middleware ¶
Middleware for net/http
func (App) Registerer ¶
func (a App) Registerer() prometheus.Registerer
Registerer return served registerer
Click to show internal directories.
Click to hide internal directories.