Skip to content

Commit 684c9d4

Browse files
authored
Update index.mdx
1 parent 273b4e5 commit 684c9d4

File tree

1 file changed

+3
-1
lines changed
  • docs/platforms/rust/guides/actix-web

1 file changed

+3
-1
lines changed

docs/platforms/rust/guides/actix-web/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ fn main() -> io::Result<()> {
4444
"___PUBLIC_DSN___",
4545
sentry::ClientOptions {
4646
release: sentry::release_name!(),
47+
// Capture all traces and spans. Set to a lower value in production.
48+
traces_sample_rate: 1.0,
4749
// Capture user IPs and potentially sensitive headers when using HTTP server integrations
4850
// see https://docs.sentry.io/platforms/rust/data-management/data-collected for more info
4951
send_default_pii: true,
@@ -89,4 +91,4 @@ Learn more about manually capturing an error or message in our <PlatformLink to=
8991

9092
</Alert>
9193

92-
To view and resolve the recorded error, log into [sentry.io](https://sentry.io) and select your project. Clicking on the error's title will open a page where you can see detailed information and mark it as resolved.
94+
To view and resolve the recorded error, log into [sentry.io](https://sentry.io) and select your project. Clicking on the error's title will open a page where you can see detailed information and mark it as resolved.

0 commit comments

Comments
 (0)