Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScrubCollector ¶
type ScrubCollector struct {
// Counters
TotalMinipools float64
GoodOnBeaconCount float64
BadOnBeaconCount float64
GoodPrestakeCount float64
BadPrestakeCount float64
GoodOnDepositContract float64
BadOnDepositContract float64
DepositlessMinipools float64
UncoveredMinipools float64
SafetyScrubs float64
LatestBlockTime float64
// Mutex
UpdateLock sync.Mutex
// contains filtered or unexported fields
}
Represents the collector for the scrub check metrics
func NewScrubCollector ¶
func NewScrubCollector() *ScrubCollector
Create a new ScrubCollector instance
func (*ScrubCollector) Collect ¶
func (collector *ScrubCollector) Collect(channel chan<- prometheus.Metric)
Collect the latest metric values and pass them to Prometheus
func (*ScrubCollector) Describe ¶
func (collector *ScrubCollector) Describe(channel chan<- *prometheus.Desc)
Write metric descriptions to the Prometheus channel
Click to show internal directories.
Click to hide internal directories.