Documentation ¶
Index ¶
- type Parameter
- type Service
- func (s *Service) Accounts(state string, count uint64)
- func (s *Service) AttestationAggregationCompleted(started time.Time, result string)
- func (s *Service) AttestationAggregationCoverage(frac float64)
- func (s *Service) AttestationCompleted(started time.Time, result string)
- func (s *Service) BeaconBlockProposalCompleted(started time.Time, result string)
- func (s *Service) BeaconCommitteeAggregators(aggregators int)
- func (s *Service) BeaconCommitteeSubscribers(subscribers int)
- func (s *Service) BeaconCommitteeSubscriptionCompleted(started time.Time, result string)
- func (s *Service) BlockDelay(delay time.Duration)
- func (s *Service) ClientOperation(provider string, operation string, succeeded bool, duration time.Duration)
- func (s *Service) JobCancelled()
- func (s *Service) JobScheduled()
- func (s *Service) JobStartedOnSignal()
- func (s *Service) JobStartedOnTimer()
- func (s *Service) NewEpoch()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameter ¶
type Parameter interface {
// contains filtered or unexported methods
}
Parameter is the interface for service parameters.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a metrics service exposing metrics via prometheus.
func (*Service) AttestationAggregationCompleted ¶
AttestationAggregationCompleted is called when an attestation aggregationprocess has completed.
func (*Service) AttestationAggregationCoverage ¶
AttestationAggregationCoverage measures the attestation ratio of the attestation aggregation.
func (*Service) AttestationCompleted ¶
AttestationCompleted is called when a block attestation process has completed.
func (*Service) BeaconBlockProposalCompleted ¶
BeaconBlockProposalCompleted is called when a block proposal process has completed.
func (*Service) BeaconCommitteeAggregators ¶
BeaconCommitteeAggregators sets the number of beacon committees for which our validators are aggregating.
func (*Service) BeaconCommitteeSubscribers ¶
BeaconCommitteeSubscribers sets the number of beacon committees to which our validators are subscribed.
func (*Service) BeaconCommitteeSubscriptionCompleted ¶
BeaconCommitteeSubscriptionCompleted is called when an beacon committee subscription process has completed.
func (*Service) BlockDelay ¶
BlockDelay provides the delay between the start of a slot and vouch receiving its block.
func (*Service) ClientOperation ¶
func (s *Service) ClientOperation(provider string, operation string, succeeded bool, duration time.Duration)
ClientOperation registers an operation.
func (*Service) JobCancelled ¶
func (s *Service) JobCancelled()
JobCancelled is called when a scheduled job is cancelled.
func (*Service) JobScheduled ¶
func (s *Service) JobScheduled()
JobScheduled is called when a job is scheduled.
func (*Service) JobStartedOnSignal ¶
func (s *Service) JobStartedOnSignal()
JobStartedOnSignal is called when a scheduled job is started due to being manually signalled.
func (*Service) JobStartedOnTimer ¶
func (s *Service) JobStartedOnTimer()
JobStartedOnTimer is called when a scheduled job is started due to meeting its time.