Skip to content

Commit 25e8c6c

Browse files
exit spans must be explicit (#483)
1 parent cd682f4 commit 25e8c6c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

specs/agents/tracing-spans.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,8 @@ set for the deprecated `span_frames_min_duration`.
9090
Exit spans are spans that describe a call to an external service,
9191
such as an outgoing HTTP request or a call to a database.
9292

93-
A span is considered an exit span if it has explicitly been marked as such or if it has context fields that are indicative of it being an exit span:
94-
```groovy
95-
exit = exit || context.destination || context.db || context.message || context.http
96-
```
93+
A span is considered an exit span if it has explicitly been marked as such; a
94+
span's status should not be inferred.
9795

9896
#### Child spans of exit spans
9997

0 commit comments

Comments
 (0)