Skip to content

Commit 789b131

Browse files
committed
chore: 更新 wrangler 可观测性配置
Update wrangler.jsonc
1 parent f0ce3fd commit 789b131

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

wrangler.jsonc

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,20 @@
44
"compatibility_date": "2025-11-21",
55
"compatibility_flags": [
66
"nodejs_compat"
7-
]
7+
],
8+
"observability": {
9+
"enabled": false,
10+
"head_sampling_rate": 1,
11+
"logs": {
12+
"enabled": true,
13+
"head_sampling_rate": 1,
14+
"persist": true,
15+
"invocation_logs": true
16+
},
17+
"traces": {
18+
"enabled": true,
19+
"persist": true,
20+
"head_sampling_rate": 1
21+
}
22+
}
823
}

0 commit comments

Comments
 (0)