We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sentry
3.23.1
Set a TracesSampler that returns 1.0, without setting TracesSampleRate.
TracesSampler
1.0
TracesSampleRate
Since the TracesSampler prevails, database transactions should be instrumented.
Notice in the logs:
DiagnosticSource Integration is now disabled due to TracesSampleRate being set to zero.
Database transactions are not instrumented at all, because the integration is disabled.
The text was updated successfully, but these errors were encountered:
Caused here:
sentry-dotnet/src/Sentry.DiagnosticSource/Internal/DiagnosticSource/SentryDiagnosticListenerIntegration.cs
Lines 14 to 19 in 6af8ce3
This should only be done if the TracesSampleRate is 0 and the TracesSampler option is null.
0
Sorry, something went wrong.
mattjohnsonpint
Successfully merging a pull request may close this issue.
Package
Sentry
SDK Version
3.23.1
Steps to Reproduce
Set a
TracesSampler
that returns1.0
, without settingTracesSampleRate
.Expected Result
Since the
TracesSampler
prevails, database transactions should be instrumented.Actual Result
Notice in the logs:
Database transactions are not instrumented at all, because the integration is disabled.
The text was updated successfully, but these errors were encountered: