Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding is_trace_root tag for APM Stats #23302

Merged
merged 15 commits into from
Mar 22, 2024
7 changes: 7 additions & 0 deletions pkg/proto/datadog/trace/stats.proto
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ message ClientStatsBucket {
int64 agentTimeShift = 4;
}

enum TraceRootFlag {
NOT_SET = 0;
TRUE = 1;
FALSE = 2;
}

// ClientGroupedStats aggregate stats on spans grouped by service, name, resource, status_code, type
message ClientGroupedStats {
string service = 1;
Expand All @@ -82,4 +88,5 @@ message ClientGroupedStats {
// peer_tags are supplementary tags that further describe a peer entity
// E.g., `grpc.target` to describe the name of a gRPC peer, or `db.hostname` to describe the name of peer DB
repeated string peer_tags = 16;
TraceRootFlag is_trace_root = 17; // this field's value is equal to span's ParentID == 0.
}
107 changes: 88 additions & 19 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.

96 changes: 91 additions & 5 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.

29 changes: 29 additions & 0 deletions pkg/proto/pbgo/trace/stats_vtproto.pb.go

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

Loading
Loading