monitor

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CloudHubSubsystem - subsystem name used by CloudHub
	CloudHubSubsystem = "CloudHub"
)

Variables

View Source
var (
	ConnectedNodes = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Namespace: metricNamespace,
			Subsystem: CloudHubSubsystem,
			Name:      "connected_nodes",
			Help:      "Number of nodes that connected to the cloudHub instance",
		},
	)
)

Functions

func InstallHandlerForPProf

func InstallHandlerForPProf(mux *http.ServeMux)

func ServeMonitor

func ServeMonitor(config config.MonitorServer)

ServeMonitor serve monitoring metric.

Types

This section is empty.

Jump to

Keyboard shortcuts

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