From 2399e631fb67b35e635e0620cf700db7729e06fc Mon Sep 17 00:00:00 2001 From: Sijmen Date: Fri, 6 Jan 2023 01:38:12 +0100 Subject: [PATCH] Enable Sentry profiling --- src/sentry.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sentry.rs b/src/sentry.rs index 41cf6c1..7513923 100644 --- a/src/sentry.rs +++ b/src/sentry.rs @@ -36,6 +36,8 @@ impl RocketSentry { })), release: sentry::release_name!(), traces_sample_rate: 1.0, + enable_profiling: true, + profiles_sample_rate: 1.0, ..Default::default() }, ));