metrics

package
v2.7.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustRegisterNewCounter

func MustRegisterNewCounter(name string, help string, labels []string) func(prometheus.Labels)

MustRegisterNewCounter registers and returns a function for counting.

func MustRegisterNewTimerWithError

func MustRegisterNewTimerWithError(name, help string, labels []string) func(prometheus.Labels, func() error) error

MustRegisterNewTimerWithError registers and returns a function for timing functions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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