Skip to content

Commit

Permalink
feat: Enable Metrics on server (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsandfoxes authored Jul 24, 2024
1 parent c85f611 commit 3b8f8a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<SentryVersion>4.7.0</SentryVersion>
<SentryVersion>4.9.0</SentryVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
10 changes: 5 additions & 5 deletions src/SymbolCollector.Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ private static IHostBuilder CreateHostBuilder(string[] args) =>
{
o.Dsn = "https://2262a4fa0a6d409c848908ec90c3c5b4@sentry.io/1886021";
// o.ExperimentalMetrics = new ExperimentalMetricsOptions
// {
// EnableCodeLocations = true,
// CaptureSystemDiagnosticsMeters = BuiltInSystemDiagnosticsMeters.All
// };
o.ExperimentalMetrics = new ExperimentalMetricsOptions
{
EnableCodeLocations = true,
CaptureSystemDiagnosticsMeters = BuiltInSystemDiagnosticsMeters.All
};
o.AddExceptionFilterForType<OperationCanceledException>();
o.MinimumBreadcrumbLevel = LogLevel.Debug;
o.CaptureFailedRequests = true;
Expand Down

0 comments on commit 3b8f8a1

Please sign in to comment.