prometheus

package
v0.0.110 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCounter

func NewCounter(name, desc string, fields ...string) metrics.Counter

NewCounter creates and registers a strictly-increasing counter metric with Prometheus.

func NewInt64

func NewInt64(name, desc string, fields ...string) metrics.Int64

NewInt64 creates and registers an Int64 metric with Prometheus.

Types

type Valuer

type Valuer interface {
	metrics.Metric
	Values() map[string]float64
}

Valuer extends a metric to include a report on its values.

Jump to

Keyboard shortcuts

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