diff --git a/TransactionProcessor/Program.cs b/TransactionProcessor/Program.cs index 23f20037..7d1a7b40 100644 --- a/TransactionProcessor/Program.cs +++ b/TransactionProcessor/Program.cs @@ -87,7 +87,8 @@ public static IHostBuilder CreateHostBuilder(string[] args) o.Dsn = builtConfig["SentryConfiguration:Dsn"]; o.SendDefaultPii = true; o.MaxRequestBodySize = RequestSize.Always; - o.CaptureBlockingCalls = true; + o.CaptureBlockingCalls = ConfigurationReader.GetValueOrDefault("SentryConfiguration", "CaptureBlockingCalls", false); + o.IncludeActivityData = ConfigurationReader.GetValueOrDefault("SentryConfiguration", "IncludeActivityData", false); o.Release = Assembly.GetExecutingAssembly().GetName().Version?.ToString() ?? "unknown"; }); }