Skip to content

Commit f734a5d

Browse files
committed
observability有効化
1 parent 8c1be71 commit f734a5d

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

wrangler.jsonc

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@
22
"main": ".open-next/worker.js",
33
"name": "my-code",
44
"compatibility_date": "2025-03-25",
5-
"compatibility_flags": [
6-
"nodejs_compat",
7-
"global_fetch_strictly_public",
8-
],
5+
"compatibility_flags": ["nodejs_compat", "global_fetch_strictly_public"],
6+
"observability": {
7+
"logs": {
8+
"enabled": true,
9+
"head_sampling_rate": 1,
10+
"invocation_logs": true,
11+
"persist": true,
12+
},
13+
},
914
"assets": {
1015
"directory": ".open-next/assets",
11-
"binding": "ASSETS"
16+
"binding": "ASSETS",
1217
},
1318
"services": [
1419
{

0 commit comments

Comments
 (0)