Sentry config
Sentry
Sentry (https://sentry.io/) is an application monitoring platform
{
"Sentry": {
"Dsn": "",
"IncludeRequestPayload": true,
"SendDefaultPii": true,
"MinimumBreadcrumbLevel": "Debug",
"MinimumEventLevel": "Warning",
"AttachStackTrace": true,
"Debug": true,
"DiagnosticsLevel": "Error",
"DefaultTags": {
"client": "XXX"
}
}
}
DNS: where to send events so the events are associated with the correct project.
IncludeRequestPayload: whether or not we should send the request body to Sentry. This is done so that the request data can be read at a later point in case an error happens while processing the request.
SendDefaultPii: Whether or not we should we report the user that made the request
MinimumBreadcrumbLevel: Configure the lowest level a message has to be to become a breadcrumb. Breadcrumbs are the last (by default 100) log that were send before the event was fired to Sentry.
MinimumEventLevel: A
LogLevel
which indicates the minimum level a log message has to be to be sent to Sentry as an event. By default this value isError
.AttachStackTrace: Configures whether Sentry should generate and attach stacktraces to capture message calls.
Debug: Turns debug mode on or off. If debug is enabled Sentry will attempt to print out useful debugging information if something goes wrong with sending the event. The default is always
false
. It's generally not recommended to turn it on in production, though turningdebug
mode on will not cause any safety concerns.DiagnosticsLevel: Debug by default.
DefaultTags: Defaults tags to add to all events.