Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/platforms/flutter/common/performance/instrumentation/autom…
…atic-instrumentation.mdx

Co-authored-by: Isabel <[email protected]>
  • Loading branch information
marandaneto and imatwawana authored Dec 5, 2022
commit 45481d405696b42c73ce8e0693354355f7adea0d
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ The `enableStructuredDataTracing` feature is available in Beta. Beta features ar

### File I/O Instrumentation

The Sentry-specific file I/O implementation starts a span out of the active span, bound to the scope for each file I/O operation. The SDK sets the span `operation` to `file.copy`/`file.write`/`file.delete`/`file.open`/`file.read`/`file.rename` and `description` to `filename`, e.g. `file.txt`
The Sentry-specific file I/O implementation starts a span out of the active span, bound to the scope for each file I/O operation. The SDK sets the span `operation` to `file.copy`/`file.write`/`file.delete`/`file.open`/`file.read`/`file.rename` and `description` to `filename` (for example, `file.txt`).

In addition, the span contains other useful information such as `file.size` (raw number of bytes), `file.path` (an absolute path to the file) and `file.async` (`true` if the called method returns a `Future` or `false` if it's a `Sync` call) as part of the `data` payload.

Expand Down