Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueuablePayloadSenderConf ¶
type QueuablePayloadSenderConf struct { MaxAge time.Duration MaxQueuedBytes int64 MaxQueuedPayloads int ExponentialBackoff backoff.ExponentialConfig }
QueuablePayloadSenderConf contains the configuration needed by a QueuablePayloadSender to operate.
func DefaultQueuablePayloadSenderConf ¶
func DefaultQueuablePayloadSenderConf() QueuablePayloadSenderConf
DefaultQueuablePayloadSenderConf constructs a QueuablePayloadSenderConf with default sane options.
type ServiceWriterConfig ¶
type ServiceWriterConfig struct { FlushPeriod time.Duration UpdateInfoPeriod time.Duration SenderConfig QueuablePayloadSenderConf }
ServiceWriterConfig contains the configuration to customize the behaviour of a ServiceWriter.
func DefaultServiceWriterConfig ¶
func DefaultServiceWriterConfig() ServiceWriterConfig
DefaultServiceWriterConfig creates a new instance of a ServiceWriterConfig using default values.
type StatsWriterConfig ¶
type StatsWriterConfig struct { MaxEntriesPerPayload int UpdateInfoPeriod time.Duration SenderConfig QueuablePayloadSenderConf }
StatsWriterConfig contains the configuration to customize the behaviour of a TraceWriter.
func DefaultStatsWriterConfig ¶
func DefaultStatsWriterConfig() StatsWriterConfig
DefaultStatsWriterConfig creates a new instance of a StatsWriterConfig using default values.
type TraceWriterConfig ¶
type TraceWriterConfig struct { MaxSpansPerPayload int FlushPeriod time.Duration UpdateInfoPeriod time.Duration SenderConfig QueuablePayloadSenderConf }
TraceWriterConfig contains the configuration to customize the behaviour of a TraceWriter.
func DefaultTraceWriterConfig ¶
func DefaultTraceWriterConfig() TraceWriterConfig
DefaultTraceWriterConfig creates a new instance of a TraceWriterConfig using default values.