collectors

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BondReductionCollector added in v1.9.2

type BondReductionCollector struct {

	// Counters
	TotalMinipools  float64
	BalanceTooLow   float64
	InvalidState    float64
	LatestBlockTime float64

	// Mutex
	UpdateLock *sync.Mutex
	// contains filtered or unexported fields
}

Represents the collector for the bond reduction check metrics

func NewBondReductionCollector added in v1.9.2

func NewBondReductionCollector() *BondReductionCollector

Create a new ScrubCollector instance

func (*BondReductionCollector) Collect added in v1.9.2

func (collector *BondReductionCollector) Collect(channel chan<- prometheus.Metric)

Collect the latest metric values and pass them to Prometheus

func (*BondReductionCollector) Describe added in v1.9.2

func (collector *BondReductionCollector) Describe(channel chan<- *prometheus.Desc)

Write metric descriptions to the Prometheus channel

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

type SoloMigrationCollector added in v1.9.2

type SoloMigrationCollector struct {

	// Counters
	TotalMinipools     float64
	DoesntExist        float64
	InvalidState       float64
	TimedOut           float64
	InvalidCredentials float64
	BalanceTooLow      float64
	LatestBlockTime    float64

	// Mutex
	UpdateLock *sync.Mutex
	// contains filtered or unexported fields
}

Represents the collector for the solo migration check metrics

func NewSoloMigrationCollector added in v1.9.2

func NewSoloMigrationCollector() *SoloMigrationCollector

Create a new ScrubCollector instance

func (*SoloMigrationCollector) Collect added in v1.9.2

func (collector *SoloMigrationCollector) Collect(channel chan<- prometheus.Metric)

Collect the latest metric values and pass them to Prometheus

func (*SoloMigrationCollector) Describe added in v1.9.2

func (collector *SoloMigrationCollector) Describe(channel chan<- *prometheus.Desc)

Write metric descriptions to the Prometheus channel

Jump to

Keyboard shortcuts

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