- Aktifkan logging dengan persist & invocation_logs - Aktifkan tracing dengan persist - Observability dashboard dimatikan (enabled: false) - Sampling rate 100% (head_sampling_rate: 1) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
32 lines
1.1 KiB
TOML
32 lines
1.1 KiB
TOML
name = "edge-proxy-relay"
|
|
main = "src/worker.ts"
|
|
compatibility_date = "2025-12-01"
|
|
compatibility_flags = ["nodejs_compat"]
|
|
|
|
# ── Cloudflare account ────────────────────────────────────────────
|
|
account_id = "2bfa421c4f4a11cc11d684a3d14327db"
|
|
workers_dev = true
|
|
|
|
# ── Observability ────────────────────────────────────────────────────────────
|
|
[observability]
|
|
enabled = false
|
|
head_sampling_rate = 1
|
|
|
|
[observability.logs]
|
|
enabled = true
|
|
head_sampling_rate = 1
|
|
persist = true
|
|
invocation_logs = true
|
|
|
|
[observability.traces]
|
|
enabled = true
|
|
persist = true
|
|
head_sampling_rate = 1
|
|
|
|
# ── Environment Variables ───────────────────────────────────────────────────
|
|
# [vars]
|
|
# RELAY_TIMEOUT_MS = "30000"
|
|
# RATE_LIMIT_MAX = "200"
|
|
# RATE_LIMIT_WINDOW_MS = "60000"
|
|
# API_KEY = "sk-your-secret-key"
|