monitoring

package
v0.87.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MetricsOptsList = map[MetricsKey]MetricsOpts{
	ReadyGauge: {
		Name: "kubevirt_cnao_cr_ready",
		Help: "CNAO CR Ready",
		Type: "Gauge",
	},
	KMPDeployGauge: {
		Name: "kubevirt_cnao_cr_kubemacpool_deployed",
		Help: "KubeMacpool is deployed by CNAO CR",
		Type: "Gauge",
	},
}

Functions

func GetMetricsAddress

func GetMetricsAddress() string

func GetMetricsPort

func GetMetricsPort() int32

func GetRunbookURLTemplate added in v0.86.0

func GetRunbookURLTemplate() string

func RenderMonitoring

func RenderMonitoring(manifestDir string, monitoringAvailable bool) ([]*unstructured.Unstructured, error)

func ResetMonitoredComponents added in v0.59.0

func ResetMonitoredComponents()

func TrackMonitoredComponents added in v0.59.0

func TrackMonitoredComponents(conf *cnao.NetworkAddonsConfigSpec, statusManager *statusmanager.StatusManager)

Types

type MetricsKey added in v0.66.0

type MetricsKey string
const (
	ReadyGauge     MetricsKey = "readyGauge"
	KMPDeployGauge MetricsKey = "kmpDeployedGauge"
)

type MetricsOpts added in v0.66.0

type MetricsOpts struct {
	Name string
	Help string
	Type string
}

Jump to

Keyboard shortcuts

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