metrics

package
v0.0.0-...-44dad58 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SchedulerSubsystem      = "scheduler"
	SuperClusterHealthKey   = "super_cluster_health"
	VirtualClusterHealthKey = "virtual_cluster_health"
)

Variables

View Source
var (
	SuperClusterHealthStats = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Subsystem: SchedulerSubsystem,
			Name:      SuperClusterHealthKey,
			Help:      "Last health scan status for super clusters.",
		},
		[]string{"status"},
	)
	VirtualClusterHealthStats = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{
			Subsystem: SchedulerSubsystem,
			Name:      VirtualClusterHealthKey,
			Help:      "Last health scan status for virtual clusters.",
		},
		[]string{"status"},
	)
)

Functions

func Register

func Register()

Register all metrics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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