sentry: Drop HttpClientIntegration.

We have the information about all of these failures from the server
side, and Sentry groups all 5xx failures together with no stacktrace,
which makes them very difficult to get signal out of.
This commit is contained in:
Alex Vandiver 2023-03-23 22:26:05 +00:00 committed by Tim Abbott
parent 39b48e85a4
commit 75008d5f50
1 changed files with 0 additions and 5 deletions

View File

@ -1,5 +1,4 @@
import * as Sentry from "@sentry/browser";
import {HttpClient as HttpClientIntegration} from "@sentry/integrations";
import {BrowserTracing} from "@sentry/tracing";
import _ from "lodash";
@ -54,10 +53,6 @@ if (page_params.server_sentry_dsn) {
new BrowserTracing({
tracePropagationTargets: url_matches,
}),
new HttpClientIntegration({
failedRequestStatusCodes: [500, 502, 503, 504],
failedRequestTargets: url_matches,
}),
],
allowUrls: url_matches,
sampleRate: page_params.server_sentry_sample_rate || 0,