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.
This commit is contained in:
Alex Vandiver 2023-05-10 19:18:40 +00:00 committed by Tim Abbott
parent 6a3f97ba80
commit b20aeadcb8
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ if (page_params.server_sentry_dsn) {
["call GET /json/events", 0], ["call GET /json/events", 0],
// These requests are high-volume and do not add much data // These requests are high-volume and do not add much data
["call POST /json/users/me/presence", 0.01], ["call POST /json/users/me/presence", 0.01],
["call POST /json/typing", 0.05],
]); ]);
Sentry.init({ Sentry.init({