Documentation ¶
Index ¶
- Variables
- func GetMetricsAddress() string
- func GetMetricsPort() int32
- func GetRunbookURLTemplate() string
- func RenderMonitoring(manifestDir string, monitoringAvailable bool) ([]*unstructured.Unstructured, error)
- func ResetMonitoredComponents()
- func TrackMonitoredComponents(conf *cnao.NetworkAddonsConfigSpec, statusManager *statusmanager.StatusManager)
- type MetricsKey
- type MetricsOpts
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
Click to show internal directories.
Click to hide internal directories.