Documentation ¶
Index ¶
- func CreateBeaconBadBlobFileName(node string, network string, slot phase0.Slot, blockRoot string, index uint64) string
- func CreateBeaconBadBlockFileName(node string, network string, slot phase0.Slot, blockRoot string) string
- func CreateBeaconBlockFileName(node string, network string, slot phase0.Slot, blockRoot string) string
- func CreateBeaconStateFileName(node string, network string, slot phase0.Slot, stateRoot string) string
- func CreateExecutionBadBlockFileName(node string, network string, blockHash string) string
- func CreateExecutionBlockTraceFileName(node string, network string, blockNumber uint64, blockHash string) string
- func New(ctx context.Context, log logrus.FieldLogger, config *Config) (*agent, error)
- type BeaconBadBlobRequest
- type BeaconBadBlockRequest
- type BeaconBlockRequest
- type BeaconStateRequest
- type Config
- type ExecutionBadBlockRequest
- type ExecutionBlockTraceRequest
- type Metrics
- func (m *Metrics) IncrementItemExported(queue Queue, agentName string)
- func (m *Metrics) ObserveQueueItemProcessingTime(queue Queue, duration time.Duration, agentName string)
- func (m *Metrics) ServeMetrics(ctx context.Context, addr string)
- func (m *Metrics) SetQueueSize(queue Queue, count int, agentName string)
- type Queue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBeaconBadBlobFileName ¶ added in v0.0.16
func CreateBeaconBadBlockFileName ¶ added in v0.0.16
func CreateBeaconBlockFileName ¶ added in v0.0.16
Types ¶
type BeaconBadBlobRequest ¶ added in v0.0.16
type BeaconBadBlobRequest struct {
Path string
}
type BeaconBadBlockRequest ¶ added in v0.0.16
type BeaconBadBlockRequest struct {
Path string
}
type BeaconBlockRequest ¶ added in v0.0.16
type BeaconStateRequest ¶
type Config ¶
type Config struct { LoggingLevel string `yaml:"logging" default:"info"` MetricsAddr string `yaml:"metricsAddr" default:":9090"` PProfAddr *string `yaml:"pprofAddr"` // The name of the agent Name string `yaml:"name"` // Ethereum configuration Ethereum ethereum.Config `yaml:"ethereum"` // Indexer configuration Indexer *indexer.Config `yaml:"indexer"` // Store configuration Store *store.Config `yaml:"store"` }
type ExecutionBadBlockRequest ¶ added in v0.0.16
type ExecutionBadBlockRequest struct { }
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func GetMetricsInstance ¶ added in v0.0.17
func (*Metrics) IncrementItemExported ¶ added in v0.0.11
func (*Metrics) ObserveQueueItemProcessingTime ¶
func (*Metrics) ServeMetrics ¶ added in v0.0.17
Source Files ¶
Click to show internal directories.
Click to hide internal directories.