Make Sentry telemetry buffer configurable.

Via `sentry-telemetry-buffer` feature.

I think this causes high CPU use on Grebedoc.
This commit is contained in:
Catherine
2025-11-23 03:04:23 +00:00
parent d82ae69625
commit 4cca8abaf0

View File

@@ -113,6 +113,7 @@ func InitObservability() {
}
options := sentry.ClientOptions{}
options.DisableTelemetryBuffer = !config.Feature("sentry-telemetry-buffer")
options.Environment = environment
options.EnableLogs = enableLogs
options.EnableTracing = enableTracing