From b20aeadcb80da41c553a164a2f614f68a737458b Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Wed, 10 May 2023 19:18:40 +0000 Subject: [PATCH] sentry: Downsample typing spans. These can come fast and furious, and are not worth reporting all of. Like presence reporting, we leave a small percentage of them for network and endpoint latency information. --- web/src/sentry.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/sentry.ts b/web/src/sentry.ts index a08cd89fe4..4fb42b36b7 100644 --- a/web/src/sentry.ts +++ b/web/src/sentry.ts @@ -69,6 +69,7 @@ if (page_params.server_sentry_dsn) { ["call GET /json/events", 0], // These requests are high-volume and do not add much data ["call POST /json/users/me/presence", 0.01], + ["call POST /json/typing", 0.05], ]); Sentry.init({