-
-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Labels
Description
Package
Sentry.AspNetCore
.NET Flavor
.NET
.NET Version
.Net 7 / .Net 8
OS
Any (not platform specific)
SDK Version
4.1.2
Self-Hosted Sentry Version
No response
Steps to Reproduce
Enable profiling through the following setup:
SentrySdk.Init(options =>
{
options.Dsn = sentryConfig.Dsn;
options.TracesSampleRate = 0.1;
options.ProfilesSampleRate = 0.1;
options.Environment = sentryConfig.Environment;
options.DiagnosticLevel = diagnosticLevel;
options.AddIntegration(new ProfilingIntegration( TimeSpan.FromMilliseconds(500)));
});Expected Result
The CPU overhead is about +5 to 10%.
Actual Result
The CPU overhead is around around +70%, which is seen through google cloud monitoring system.
The following Sentry packages are used:
Sentry 4.1.2
Sentry.AspNetCore 4.1.2
Sentry.Profiling 4.1.2
Metadata
Metadata
Assignees
Labels
Projects
Status
Done
Status
No status
Status
No status