Skip to content

Commit

Permalink
Update traces.md (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlawrencer authored Dec 18, 2024
1 parent df67679 commit 5cfbeb4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/ios/open-source/features/traces.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@ class MyClass {

### Span auto termination

You can flag a span to be auto terminated if it's still open when the Embrace session ends.
When building a span, you'll have to pass the `SpanErrorCode` to be used when terminating the span.
In accordance with the OTel specification, spans in the Embrace SDK do not end by default when the session span (technically their parent) ends. You can flag a span to be auto terminated if it's still open when the Embrace session ends. When building a span, you'll have to pass the `SpanErrorCode` to be used when terminating the span.

```swift
let span = Embrace
Expand Down

0 comments on commit 5cfbeb4

Please sign in to comment.