Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllocActiveGauge prometheus.GaugeFunc
Functions ¶
func RegisterMetrics ¶
func RegisterMetrics(log logging.LeveledLogger, GetAllocationCount func() float64)
func UnregisterMetrics ¶
func UnregisterMetrics(log logging.LeveledLogger)
Types ¶
type Frontend ¶
type Frontend interface {
// Reload frontend based on the configuration change
Reconcile(endpoint string) error
// Start the monitoring frontend
Start()
// Stop the monitoring frontend
Stop()
// Get current endpoint
GetEndpoint() string
}
func NewFrontend ¶
func NewFrontend(endpoint string, dryRun bool, logger logging.LoggerFactory) Frontend
Click to show internal directories.
Click to hide internal directories.