Files
proxy-bun/wrangler.toml
T
3505165a3b feat: tambah konfigurasi observability Wrangler untuk konsistensi deployment (#3)
- 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>
2026-06-25 21:37:04 +07:00

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"