metrics

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// SyncBytesCounter metric measures the number of bytes transferred for update sync operations
	SyncBytesCounter *prometheus.CounterVec

	// SyncObjectsCounter metric measures the number of (file/directory) objects transferred for update sync operations
	SyncObjectsCounter *prometheus.CounterVec

	// SyncErrorsCounter metric measures the number of errors during update sync operations
	SyncErrorsCounter *prometheus.CounterVec
)

Functions

func UpdateSyncLabels

func UpdateSyncLabels(deviceVendor, actionKind string) prometheus.Labels

UpdateSyncLabels is a helper method to return labels included in a update sync prometheus metric

The cardinality of the labels returned here must match the ones defined in init()

Types

This section is empty.

Jump to

Keyboard shortcuts

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