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.
Click to show internal directories.
Click to hide internal directories.