mirror of https://github.com/zulip/zulip.git
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:
parent
39b48e85a4
commit
75008d5f50
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue