-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f50dfc4
commit 11979f6
Showing
8 changed files
with
9 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
using Microsoft.AspNetCore.Server.Kestrel.Core; | ||
using Sentry; | ||
using Sentry.Profiling; | ||
using Serilog; | ||
using SystemEnvironment = System.Environment; | ||
|
||
|
@@ -73,10 +71,6 @@ private static IHostBuilder CreateHostBuilder(string[] args) => | |
{ | ||
o.Dsn = "https://[email protected]/1886021"; | ||
|
||
o.AddIntegration(new ProfilingIntegration( | ||
// Block up to 2 seconds to get profiling started before running the app | ||
TimeSpan.FromSeconds(2))); | ||
|
||
// o.ExperimentalMetrics = new ExperimentalMetricsOptions | ||
// { | ||
// EnableCodeLocations = true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
"DiagnosticLevel": "Info", | ||
"Dsn": "https://[email protected]/1886021", | ||
"TracesSampleRate": 1.0, | ||
"ProfilesSampleRate": 0.25, | ||
"ProfilesSampleRate": 0.0, | ||
"DefaultTags": { | ||
"app": "SymbolCollector.Server" | ||
} | ||
|