metrics

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 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 = "settings"
)

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	// Counter  *prometheus.CounterVec
	BuildInfo *prometheus.GaugeVec
}

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