metrics

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsFactory added in v0.1.7

type MetricsFactory interface {
	NewCounter(string, string, []string) *prometheus.CounterVec
	NewGauge(string, string, []string) *prometheus.GaugeVec
	NewHistogram(string, string, []string) prometheus.ObserverVec
}

MetricRecorder is used to record metrics from a component

func NewMetricsFactory added in v0.1.7

type MetricsFactoryOptions added in v0.1.7

type MetricsFactoryOptions struct {
	Project             string
	Slice               string
	Cluster             string
	Namespace           string
	ReportingController string
	Prefix              string
}

Jump to

Keyboard shortcuts

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