Documentation ¶
Index ¶
Constants ¶
const MinipoolBalanceDetailsBatchSize = 20
Settings
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DemandCollector ¶
type DemandCollector struct {
// contains filtered or unexported fields
}
Represents the collector for the Demand metrics
func NewDemandCollector ¶
func NewDemandCollector(rp *rocketpool.RocketPool) *DemandCollector
Create a new DemandCollector instance
func (*DemandCollector) Collect ¶
func (collector *DemandCollector) Collect(channel chan<- prometheus.Metric)
Collect the latest metric values and pass them to Prometheus
func (*DemandCollector) Describe ¶
func (collector *DemandCollector) Describe(channel chan<- *prometheus.Desc)
Write metric descriptions to the Prometheus channel
type NodeCollector ¶
type NodeCollector struct {
// contains filtered or unexported fields
}
Represents the collector for the user's node
func NewNodeCollector ¶
func NewNodeCollector(rp *rocketpool.RocketPool, bc beacon.Client, nodeAddress common.Address) *NodeCollector
Create a new NodeCollector instance
func (*NodeCollector) Collect ¶
func (collector *NodeCollector) Collect(channel chan<- prometheus.Metric)
Collect the latest metric values and pass them to Prometheus
func (*NodeCollector) Describe ¶
func (collector *NodeCollector) Describe(channel chan<- *prometheus.Desc)
Write metric descriptions to the Prometheus channel
type OdaoCollector ¶
type OdaoCollector struct {
// contains filtered or unexported fields
}
Represents the collector for the ODAO metrics
func NewOdaoCollector ¶
func NewOdaoCollector(rp *rocketpool.RocketPool) *OdaoCollector
Create a new DemandCollector instance
func (*OdaoCollector) Collect ¶
func (collector *OdaoCollector) Collect(channel chan<- prometheus.Metric)
Collect the latest metric values and pass them to Prometheus
func (*OdaoCollector) Describe ¶
func (collector *OdaoCollector) Describe(channel chan<- *prometheus.Desc)
Write metric descriptions to the Prometheus channel
type PerformanceCollector ¶
type PerformanceCollector struct {
// contains filtered or unexported fields
}
Represents the collector for the Performance metrics
func NewPerformanceCollector ¶
func NewPerformanceCollector(rp *rocketpool.RocketPool) *PerformanceCollector
Create a new PerformanceCollector instance
func (*PerformanceCollector) Collect ¶
func (collector *PerformanceCollector) Collect(channel chan<- prometheus.Metric)
Collect the latest metric values and pass them to Prometheus
func (*PerformanceCollector) Describe ¶
func (collector *PerformanceCollector) Describe(channel chan<- *prometheus.Desc)
Write metric descriptions to the Prometheus channel
type RplCollector ¶
type RplCollector struct {
// contains filtered or unexported fields
}
Represents the collector for the RPL metrics
func NewRplCollector ¶
func NewRplCollector(rp *rocketpool.RocketPool) *RplCollector
Create a new DemandCollector instance
func (*RplCollector) Collect ¶
func (collector *RplCollector) Collect(channel chan<- prometheus.Metric)
Collect the latest metric values and pass them to Prometheus
func (*RplCollector) Describe ¶
func (collector *RplCollector) Describe(channel chan<- *prometheus.Desc)
Write metric descriptions to the Prometheus channel
type SupplyCollector ¶
type SupplyCollector struct {
// contains filtered or unexported fields
}
Represents the collector for the Supply metrics
func NewSupplyCollector ¶
func NewSupplyCollector(rp *rocketpool.RocketPool) *SupplyCollector
Create a new PerformanceCollector instance
func (*SupplyCollector) Collect ¶
func (collector *SupplyCollector) Collect(channel chan<- prometheus.Metric)
Collect the latest metric values and pass them to Prometheus
func (*SupplyCollector) Describe ¶
func (collector *SupplyCollector) Describe(channel chan<- *prometheus.Desc)
Write metric descriptions to the Prometheus channel