setup env for sentry
This commit is contained in:
@@ -51,6 +51,8 @@ SentrySdk.Init(options =>
|
|||||||
|
|
||||||
// Example sample rate for your transactions: captures 10% of transactions
|
// Example sample rate for your transactions: captures 10% of transactions
|
||||||
options.TracesSampleRate = 0.1;
|
options.TracesSampleRate = 0.1;
|
||||||
|
|
||||||
|
options.Environment = builder.Environment.EnvironmentName;
|
||||||
});
|
});
|
||||||
|
|
||||||
// Add service discovery for Aspire
|
// Add service discovery for Aspire
|
||||||
|
|||||||
Reference in New Issue
Block a user