Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultReceiverPort point to a default port of receiver component, and is // unique so that components can be easily run on localhost for easy debugging DefaultReceiverPort = 22111 // DefaultForwarderPort point to a default port of forwarder component DefaultForwarderPort = 22110 )
Variables ¶
View Source
var Instance = defaultValues()
Instance holds configuration values
View Source
var Log = newLogger()
Log is a default logger for wathola
Functions ¶
func SetupTracing ¶ added in v0.29.2
func SetupTracing()
func ShutdownTracing ¶ added in v0.34.0
func ShutdownTracing()
Types ¶
type Config ¶
type Config struct { Sender SenderConfig Forwarder ForwarderConfig Receiver ReceiverConfig Readiness ReadinessConfig LogLevel string TracingConfig string }
Config hold complete configuration
type ForwarderConfig ¶
ForwarderConfig holds configuration for forwarder
type ReadinessConfig ¶
ReadinessConfig holds a readiness configuration
type ReceiverConfig ¶
type ReceiverConfig struct { Teardown ReceiverTeardownConfig Progress ReceiverProgressConfig Errors ReceiverErrorConfig Port int }
ReceiverConfig hold configuration for receiver
type ReceiverErrorConfig ¶ added in v0.21.0
type ReceiverErrorConfig struct {
}ReceiverErrorConfig holds error reporting config of the receiver
type ReceiverProgressConfig ¶
ReceiverProgressConfig holds config receiver progress reporting
type ReceiverTeardownConfig ¶
ReceiverTeardownConfig holds config receiver teardown
type SenderConfig ¶
SenderConfig hold configuration for sender
Click to show internal directories.
Click to hide internal directories.