Skip to content

Commit 70d93d9

Browse files
committed
readme entry
1 parent 41698e9 commit 70d93d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sentry-tracing/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
Support for automatic breadcrumb, event, and trace capturing from `tracing` events and spans.
1010

1111
The `tracing` crate is supported in four ways:
12+
1213
- `tracing` events can be captured as Sentry events. These are grouped and show up in the Sentry
1314
[issues](https://docs.sentry.io/product/issues/) page, representing high severity issues to be
1415
acted upon.
@@ -216,6 +217,7 @@ By default, the `op` of the span sent to Sentry is `default`.
216217
### Special Span Fields
217218

218219
Some fields on spans are treated specially by the Sentry tracing integration:
220+
219221
- `sentry.name`: overrides the span name sent to Sentry.
220222
This is useful to customize the span name when using `#[tracing::instrument]`, or to update
221223
it retroactively (using `span.record`) after the span has been created.
@@ -228,7 +230,7 @@ Some fields on spans are treated specially by the Sentry tracing integration:
228230
Note that `sentry.trace` will only be effective on span creation (it cannot be applied retroactively)
229231
and requires the span it's applied to to be a root span, i.e. no span should active upon its
230232
creation.
231-
233+
- `sentry.sample`: If the span initiates a transaction, this can be used to force whether the transaction will be sampled.
232234

233235
Example:
234236

0 commit comments

Comments
 (0)