package
Version:
v2.0.0-...-ca14b28
Opens a new window with list of versions in this module.
Published: Jun 7, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Metrics struct {
Labels []metrics.Label
}
Metrics defines a default StoreMetrics implementation.
NewMetrics returns a new instance of the Metrics with labels set by the node
operator.
MeasureSince provides a wrapper functionality for emitting a time measure
metric with global labels (if any).
type StoreMetrics interface {
MeasureSince(start time.Time, keys ...string)
}
StoreMetrics defines the set of supported metric APIs for the store package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.