Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions wrangler.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,28 @@
"custom_domain": true
}
],
// Exported to Better Stack via the OTLP destinations configured in the
// Cloudflare dashboard (Workers & Pages -> Observability -> Telemetry).
// persist: true also retains everything in the CF dashboard.
// Persist observability in Cloudflare and forward invocations to the central Tail Worker.
"observability": {
"enabled": true,
"logs": {
"enabled": true,
"destinations": ["betterstack-logs"],
"destinations": [],
"head_sampling_rate": 1.0,
"invocation_logs": true,
"persist": true
},
"traces": {
"enabled": true,
"destinations": ["betterstack-traces"],
"head_sampling_rate": 1.0,
"destinations": [],
"head_sampling_rate": 0.01,
"persist": true
}
},
"tail_consumers": [
{
"service": "moonsworth-workers-observability"
}
],
"vars": {
"PUBLIC_SERVER_API_URL": "https://sky.shiiyu.moe/api/",
"PUBLIC_API_URL": "https://sky.shiiyu.moe/api/"
Expand Down
Loading