setup env for sentry

This commit is contained in:
2025-05-14 15:05:31 +07:00
parent 7c2ff75f94
commit 816a848140

View File

@@ -51,6 +51,8 @@ SentrySdk.Init(options =>
// Example sample rate for your transactions: captures 10% of transactions
options.TracesSampleRate = 0.1;
options.Environment = builder.Environment.EnvironmentName;
});
// Add service discovery for Aspire