Skip to content

Commit d2829c5

Browse files
authored
Add observability settings to wrangler.jsonc (#101)
Add observability configuration with logs and traces settings. Signed-off-by: Bradley Reynolds <bradley.reynolds@tailstory.dev>
1 parent ef36f5d commit d2829c5

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

wrangler.jsonc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@
77
"assets": {
88
"directory": "./dist"
99
},
10+
"observability": {
11+
"enabled": false,
12+
"head_sampling_rate": 1,
13+
"logs": {
14+
"enabled": true,
15+
"head_sampling_rate": 1,
16+
"persist": true,
17+
"invocation_logs": true
18+
},
19+
"traces": {
20+
"enabled": false,
21+
"persist": true,
22+
"head_sampling_rate": 1
23+
}
24+
},
1025
"routes": [
1126
{
1227
"pattern": "shenanigans.dog",

0 commit comments

Comments
 (0)