mirror of
https://github.com/tiennm99/claude-status-webhook.git
synced 2026-10-15 16:14:32 +00:00
feat: enable Cloudflare Workers observability (logs + traces)
Add observability config to wrangler.jsonc with logs and traces enabled, 100% sampling, and persistence. Free tier feature — no code changes needed.
This commit is contained in:
1 parent
4ce97e5bf0
commit
bb8f4dcde8
3 files changed
+24
-1
No files matched your search
@@ -23,6 +23,21 @@
|
||||
"max_retries": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
"observability": {
|
||||
"enabled": false,
|
||||
"head_sampling_rate": 1,
|
||||
"logs": {
|
||||
"enabled": true,
|
||||
"head_sampling_rate": 1,
|
||||
"persist": true,
|
||||
"invocation_logs": true
|
||||
},
|
||||
"traces": {
|
||||
"enabled": true,
|
||||
"persist": true,
|
||||
"head_sampling_rate": 1
|
||||
}
|
||||
}
|
||||
// Secrets (set via `wrangler secret put`):
|
||||
// BOT_TOKEN - Telegram bot token
|
||||
|
||||
Reference in new issue
Block a user