metrics

package
v0.0.0-...-55a407e Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServersAdded = promauto.NewCounter(prometheus.CounterOpts{
		Subsystem: "enrolld",
		Name:      "servers_added_total",
		Help:      "The total number of added servers",
	})

	ServersUpdated = promauto.NewCounter(prometheus.CounterOpts{
		Subsystem: "enrolld",
		Name:      "servers_updated_total",
		Help:      "The total number of updated servers",
	})

	ServersDeleted = promauto.NewCounter(prometheus.CounterOpts{
		Subsystem: "enrolld",
		Name:      "servers_deleted_total",
		Help:      "The total number of deleted servers",
	})

	ServersInInventory prometheus.GaugeFunc
	DataUsage          prometheus.GaugeFunc
	JobQueueCount      prometheus.GaugeFunc
	WorkingQueueCount  prometheus.GaugeFunc
)

Metric definintions

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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