monitoring

package
v0.10.9 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: MIT Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

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