Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelModuleId = "module_id" LabelOperation = "op" )
Variables ¶
View Source
var (
ShutdownWithError = upstream.ShutdownWithError
)
Functions ¶
func AddConfigOverride ¶
Types ¶
type ReconcilerMetrics ¶ added in v1.16.0
type ReconcilerMetrics struct { ReconciliationCount metric.Vec[metric.Counter] ReconciliationDuration metric.Vec[metric.Observer] ReconciliationTotalErrors metric.Vec[metric.Counter] ReconciliationCurrentErrors metric.Vec[metric.Gauge] PruneCount metric.Vec[metric.Counter] PruneTotalErrors metric.Vec[metric.Counter] PruneDuration metric.Vec[metric.Observer] }
func NewStateDBReconcilerMetrics ¶ added in v1.16.0
func NewStateDBReconcilerMetrics() (ReconcilerMetrics, reconciler.Metrics)
type Shutdowner ¶
type Shutdowner = upstream.Shutdowner
type StateDBMetrics ¶ added in v1.16.0
type StateDBMetrics struct { // How long a read transaction was held. WriteTxnDuration metric.Vec[metric.Observer] // How long it took to acquire a write transaction for all tables. WriteTxnAcquisition metric.Vec[metric.Observer] // How long writers were blocked while waiting to acquire a write transaction for a specific table. TableContention metric.Vec[metric.Gauge] // The amount of objects in a given table. TableObjectCount metric.Vec[metric.Gauge] // The current revision of a given table. TableRevision metric.Vec[metric.Gauge] // The amount of delete trackers for a given table. TableDeleteTrackerCount metric.Vec[metric.Gauge] // The amount of objects in the graveyard for a given table. TableGraveyardObjectCount metric.Vec[metric.Gauge] // The lowest revision of a given table that has been processed by the graveyard garbage collector. TableGraveyardLowWatermark metric.Vec[metric.Gauge] // The time it took to clean the graveyard for a given table. TableGraveyardCleaningDuration metric.Vec[metric.Observer] }
func NewStateDBMetrics ¶ added in v1.16.0
func NewStateDBMetrics() (StateDBMetrics, statedb.Metrics)
Click to show internal directories.
Click to hide internal directories.