Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LoggingLevel string `yaml:"logging" default:"info"` MetricsAddr string `yaml:"metricsAddr" default:":9090"` PProfAddr *string `yaml:"pprofAddr"` ProbeAddr *string `yaml:"probeAddr"` // The name of the mimicry Name string `yaml:"name"` // Ethereum configuration Coordinator coordinator.Config `yaml:"coordinator"` // Outputs configuration Outputs []output.Config `yaml:"outputs"` // Labels configures the mimicry with labels Labels map[string]string `yaml:"labels"` // NTP Server to use for clock drift correction NTPServer string `yaml:"ntpServer" default:"time.google.com"` // CaptureDelay is the Delay before capturing transactions from a peer CaptureDelay time.Duration `yaml:"captureDelay" default:"3m"` }
func (*Config) CreateSinks ¶
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func NewMetrics ¶
func (*Metrics) AddDecoratedEvent ¶
Click to show internal directories.
Click to hide internal directories.