metrics

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// UpdateCounter is a prometheus counter to count the dyndns updates.
	UpdateCounter = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name: "hdu_total_updates",
			Help: "The total number of dyndns updates",
		},
	)

	// UpdateFailedCounter is a prometheus counter to count the failed dyndns updates.
	UpdateFailedCounter = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name: "hdu_failed_updates",
			Help: "The total number of failed dyndns updates",
		},
	)
)

Functions

func EnableMetrics

func EnableMetrics()

Types

This section is empty.

Jump to

Keyboard shortcuts

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