File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 99Support for automatic breadcrumb, event, and trace capturing from ` tracing ` events and spans.
1010
1111The ` 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
218219Some 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
233235Example:
234236
You can’t perform that action at this time.
0 commit comments