Skip to content

Commit b7a5106

Browse files
authored
Disable logs for cache-do (#2560)
1 parent 4bcbdc5 commit b7a5106

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.changeset/eleven-brooms-travel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@gitbook/cache-do': patch
3+
---
4+
5+
Disable cloudflare observability in production

packages/cache-do/wrangler.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ migrations = [
1111
]
1212

1313
[observability]
14-
enabled = true
15-
head_sampling_rate = 0.01
14+
enabled = false
1615

1716
[env.preview]
1817
name = "gitbook-open-cache-preview"
@@ -25,4 +24,4 @@ migrations = [
2524

2625
[env.preview.observability]
2726
enabled = true
28-
head_sampling_rate = 1
27+
head_sampling_rate = 0.1

0 commit comments

Comments
 (0)