metrics

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncNodeWatcherFailures

func IncNodeWatcherFailures(c, v string)

IncNodeWatcherFailures increases node watcher failures counter

func IncSyncQueueFullFailures

func IncSyncQueueFullFailures(device string)

IncSyncQueueFullFailures increases sync queue failures counter

func IncSyncRequeue

func IncSyncRequeue(device string)

IncSyncRequeue increases requeue counter

func Register

func Register(wgMetricsClient *wgctrl.Client, wgDeviceNames, rClusterNames []string)

Register registers all the prometheus collectors

func SyncPeerAttempt

func SyncPeerAttempt(device string, err error)

SyncPeerAttempt increases the counter for attempts to sync wg peers

Types

This section is empty.

Jump to

Keyboard shortcuts

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