From 75008d5f500f3c443a932db1067be160ef99519f Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Thu, 23 Mar 2023 22:26:05 +0000 Subject: [PATCH] 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. --- web/src/sentry.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/web/src/sentry.ts b/web/src/sentry.ts index 036c6ba404..16ae241d8a 100644 --- a/web/src/sentry.ts +++ b/web/src/sentry.ts @@ -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,