metrics

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package metrics provides a set of metrics for Virtual Kubelet component.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrorsCounter is the counter of the errors occurred during the reflection.
	ErrorsCounter *prometheus.CounterVec
	// ItemsCounter is the counter of the reflected resources.
	// A fast increase of this metric can indicate a race condition between local and remote operators.
	ItemsCounter *prometheus.CounterVec
)

Functions

func SetupMetricHandler

func SetupMetricHandler(metricsAddress string)

SetupMetricHandler sets up the metric handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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