metrics

package
v0.0.0-...-45ed318 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector interface {
	Run(stop <-chan struct{})
	IncManagedInstances()
	DecManagedInstances()
	AddEvent(resource, operation string)
}

func NewPrometheusCollector

func NewPrometheusCollector() Collector

NewPrometheusCollector creates the Prometheus metrics collector. It also registers all internal metric collector to prometheus, so do not call this function multiple times.

Jump to

Keyboard shortcuts

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