mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-05-14 03:01:48 +00:00
Make Sentry telemetry buffer configurable.
Via `sentry-telemetry-buffer` feature. I think this causes high CPU use on Grebedoc.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user