Skip to content

Commit

Permalink
Disable logs for cache-do (#2560)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyPesse authored Oct 27, 2024
1 parent 4bcbdc5 commit b7a5106
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/eleven-brooms-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@gitbook/cache-do': patch
---

Disable cloudflare observability in production
5 changes: 2 additions & 3 deletions packages/cache-do/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ migrations = [
]

[observability]
enabled = true
head_sampling_rate = 0.01
enabled = false

[env.preview]
name = "gitbook-open-cache-preview"
Expand All @@ -25,4 +24,4 @@ migrations = [

[env.preview.observability]
enabled = true
head_sampling_rate = 1
head_sampling_rate = 0.1

0 comments on commit b7a5106

Please sign in to comment.