metric

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCounter

func NewCounter(name string, help string) prometheus.Counter

NewCounter returns a new Prometheus counter.

func NewHistogram

func NewHistogram(name string, help string, start float64, factor float64, count int) prometheus.Histogram

NewHistogram returns a new Prometheus Histogram for execution time metrics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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