Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions proto/logsstateful/stateful_encoding.proto
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,17 @@ message Log {
StructuredLog structured = 2;
string raw = 3;
}
// TODO: right now we are assuming logs are attached per tag - in the future we may have common tags in the stream
// state and auto-populate them downstream.
// Required tags: `service`, `hostname`,
// Other tags on agent payload: `status`, `source`
// All tags are joined together sent as a single tagset
// Tags identifying the log source (hostname, service, ddsource, container tags).
// Excludes status which varies per log — status is sent separately to improve delta encoding.
// All tags are joined together and sent as a single tagset.
TagSet tags = 4;

// Optional UUID used to track logs when dual-sent via HTTP and gRPC
optional string uuid = 5;

// Log severity level (e.g. "info", "warn", "error"). Sent separately from tags because
// status changes per log while other tags remain stable, which would defeat delta encoding.
DynamicValue status = 6;
}

message StructuredLog {
Expand Down
Loading
Loading