Skip to content

Commit 20c1966

Browse files
committed
feat: Define is_sampled_out for TracePayload
1 parent 99d50a8 commit 20c1966

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

proto/serverless/instrumentation/v1/trace.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ message TracePayload {
2828
// The optional custom trace tags to be set by the user
2929
// This is expected to be a JSON object in string format.
3030
optional string custom_tags = 5;
31+
32+
// Whether the trace payload represents sampled out invocation and in result contains just
33+
// core spans and no events
34+
optional bool is_sampled_out = 6;
3135
}
3236

3337
message Span {

0 commit comments

Comments
 (0)