metrics

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Namespace defines the namespace for the defines metrics.
	Namespace = "ocis"

	// Subsystem defines the subsystem for the defines metrics.
	Subsystem = "thumbnails"
)

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	Counter  *prometheus.CounterVec
	Latency  *prometheus.SummaryVec
	Duration *prometheus.HistogramVec
}

Metrics defines the available metrics of this service.

func New

func New() *Metrics

New initializes the available metrics.

Jump to

Keyboard shortcuts

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