Matt Johnson-Pint
Matt Johnson-Pint
Just a note for anyone using Azure Functions in the meantime. You can use either the `SentrySdk.Init` function or the logging integration with `AddSentry`, but either way you should initialize...
Note, the example shown by @hostr in https://github.com/getsentry/sentry-dotnet/issues/373#issuecomment-708147239 is not advised. The better approach is to use the [`Sentry.Extensions.Logging`](https://docs.sentry.io/platforms/dotnet/guides/extensions-logging/) package, and call `AddSentry` in `ConfigureLogging` as @Hackmodford showed in https://github.com/getsentry/sentry-dotnet/issues/373#issuecomment-1361622217....
@bruno-garcia - Regarding: > ... You approach looks bullet proof given that you're catching all exceptions before you rethrow and `Dispose` will make sure things get flushed out. ... That...
Our initial support for Azure Functions (isolated worker) has been released. (Thanks @SeanFeldman!) You'll find it on Nuget as `Sentry.AzureFunctions.Worker` [](https://www.nuget.org/packages/Sentry.AzureFunctions.Worker) Documentation is pending. For now, see the sample at...
FWIW, it appears that `scope.Clear` and `scope.ClearBreadcrumbs` are defined in the Unified API spec, so we should definitely add them. https://develop.sentry.dev/sdk/unified-api/#scope
Hi. Just for clarity, I've created two new issue to track this work: - #2272 - #2273 Closing this issue in favor of those. Thanks.
`Scope.Clear` has been released in 3.30.0. See example: in #2274 Also, just to clarify `options.IsGlobalMode` should be `false` (which is the default).
> does the internal ticket include the sentry configuration code? Nope.
Because we've currently implemented `BeforeSend` as a property that accepts a delegate function, there's no clean way to add a `Hint` parameter to the function without making a breaking change...
FYI - Hints should also be used for purposes of providing additional context to the `BeforeSend` (and similar) methods that are not going to be part of the sent event...