package
0.9.0
Repository: https://github.com/datadog/datadog-agent.git
Documentation: pkg.go.dev

# Functions

NewBatchStrategy returns a new batch concurrent strategy with the specified batch & content size limits If `maxConcurrent` > 0, then at most that many payloads will be sent concurrently, else there is no concurrency and the pipeline will block while sending each payload.
NewMessageBuffer returns a new MessageBuffer.
NewSender returns a new sender.

# Variables

ArraySerializer is a shared line serializer.
LineSerializer is a shared line serializer.
StreamStrategy is a shared stream strategy.

# Structs

MessageBuffer accumulates messages to a buffer until the max capacity is reached.
Sender sends logs to different destinations.

# Interfaces

Serializer transforms a batch of messages into a payload.
Strategy should contain all logic to send logs to a remote destination and forward them the next stage of the pipeline.