telemetry

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExplorerAgent added in v1.0.0

type ExplorerAgent struct {
	// contains filtered or unexported fields
}

func NewExplorerAgent added in v1.0.0

func NewExplorerAgent(explorerClient synchronization.ExplorerClient) *ExplorerAgent

NewExplorerAgent returns a Agent which is just a thin wrapper over the explorerClient for now

func (*ExplorerAgent) GenMonitoringEndpoint added in v1.0.0

func (t *ExplorerAgent) GenMonitoringEndpoint(addr common.Address) ocrtypes.MonitoringEndpoint

GenMonitoringEndpoint creates a monitoring endpoint for telemetry

func (*ExplorerAgent) SendLog added in v1.0.0

func (t *ExplorerAgent) SendLog(log []byte)

SendLog sends a telemetry log to the explorer

type IngressAgent added in v1.0.0

type IngressAgent struct {
	// contains filtered or unexported fields
}

func NewIngressAgent added in v1.0.0

func NewIngressAgent(telemetryIngressClient synchronization.TelemetryIngressClient, contractAddress common.Address) *IngressAgent

func (*IngressAgent) SendLog added in v1.0.0

func (t *IngressAgent) SendLog(telemetry []byte)

SendLog sends a telemetry log to the ingress server

type IngressAgentWrapper added in v1.0.0

type IngressAgentWrapper struct {
	// contains filtered or unexported fields
}

func NewIngressAgentWrapper added in v1.0.0

func NewIngressAgentWrapper(telemetryIngressClient synchronization.TelemetryIngressClient) *IngressAgentWrapper

func (*IngressAgentWrapper) GenMonitoringEndpoint added in v1.0.0

func (t *IngressAgentWrapper) GenMonitoringEndpoint(addr common.Address) ocrtypes.MonitoringEndpoint

type MonitoringEndpointGenerator added in v1.0.0

type MonitoringEndpointGenerator interface {
	GenMonitoringEndpoint(addr common.Address) ocrtypes.MonitoringEndpoint
}

type NoopAgent

type NoopAgent struct {
}

func (*NoopAgent) GenMonitoringEndpoint added in v1.0.0

func (t *NoopAgent) GenMonitoringEndpoint(addr common.Address) ocrtypes.MonitoringEndpoint

GenMonitoringEndpoint creates a monitoring endpoint for telemetry

func (*NoopAgent) SendLog

func (t *NoopAgent) SendLog(log []byte)

SendLog sends a telemetry log to the explorer

Jump to

Keyboard shortcuts

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