Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(config): align worker log sampling with web (#1006)

Generbd7913c8eaa4
diff --git a/src/ws-do/wrangler.toml b/src/ws-do/wrangler.toml
index 345ef2361..cb58ac147 100644
--- a/src/ws-do/wrangler.toml
+++ b/src/ws-do/wrangler.toml
@@ -8,15 +8,9 @@ workers_dev = false
enabled = true
head_sampling_rate = 0.1
-# Exempted from the default 0.1 sampling used by other workers: the
-# `ws_frame_dropped_write` audit-loss signal is a rare-write category, and
-# head-sampling is a request-level decision that can't be bypassed by log
-# level. Full-rate ingest is affordable here — ws-do's log volume is
-# dominated by daemon frames — and is the only reliable way to measure the
-# audit-loss SLO.
[observability.logs]
invocation_logs = true
-head_sampling_rate = 1.0
+head_sampling_rate = 0.1
destinations = ["grafana-logs"]
[observability.traces]