Skip to content

Commit

Permalink
add split_payload field for client stats payload protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
jdgumz committed Nov 1, 2023
1 parent 47c84b3 commit fc01656
Show file tree
Hide file tree
Showing 4 changed files with 141 additions and 65 deletions.
3 changes: 3 additions & 0 deletions pkg/proto/datadog/trace/stats.proto
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ message ClientStatsPayload {
// Tags specifies a set of tags obtained from the orchestrator (where applicable) using the specified containerID.
// This field should be left empty by the client. It only applies to some specific environment.
repeated string tags = 12;
// split_payload indicates if the payload was a split-out part of a larger payload.
// This flag can be used in the backend to determine if re-aggregation is necessary.
bool split_payload = 13;
}

// ClientStatsBucket is a time bucket containing aggregated stats.
Expand Down
136 changes: 75 additions & 61 deletions pkg/proto/pbgo/trace/stats.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 30 additions & 4 deletions pkg/proto/pbgo/trace/stats_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fc01656

Please sign in to comment.