Skip to content

Commit

Permalink
Add parent_span_is_remote to Span message
Browse files Browse the repository at this point in the history
  • Loading branch information
estolfo committed Aug 15, 2023
1 parent 81a296f commit 7da7d3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions opentelemetry/proto/trace/v1/trace.proto
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,12 @@ message Span {
// An optional final status for this span. Semantically when Status isn't set, it means
// span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).
Status status = 15;

// parent_span_is_remote identifies whether a span's parent is remote or not.
// This helps determine whether a span can be considered an entry-point span.
// A span is an entry-point span if it has no parent (parent_span_id is empty),
// or if parent_span_is_remote is true.
bool parent_span_is_remote = 16;
}

// The Status type defines a logical error model that is suitable for different
Expand Down

0 comments on commit 7da7d3a

Please sign in to comment.