metrics

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package metrics contains the common metrics needed for different packages.

Index

Constants

This section is empty.

Variables

View Source
var (
	// PanicsTotal contains metrics for rates of panic.
	PanicsTotal struct{ prometheus.Counter } //nolint:gochecknoglobals,gocritic
)

Functions

func InitMetrics

func InitMetrics()

InitMetrics must be called once before using this package. It registers and initializes metrics used by this package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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