Skip to content

Commit 773ac32

Browse files
committed
add logging to workers
1 parent 121cb0c commit 773ac32

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

services/src/admin-api/wrangler.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ account_id = "ad8af7aeb571031ffc236c411f39afe7"
55

66
compatibility_flags = ['nodejs_compat']
77

8+
[observability]
9+
enabled = true
10+
head_sampling_rate = 1 # optional. default = 1.
11+
812
[vars]
913
ADMIN_UI_ORIGIN = "https://admin.alef.io"
1014

services/src/db/wrangler.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ compatibility_date = "2025-01-01"
33
main = "index.ts"
44
account_id = "ad8af7aeb571031ffc236c411f39afe7"
55

6+
[observability]
7+
enabled = true
8+
head_sampling_rate = 1 # optional. default = 1.
9+
610
[[d1_databases]]
711
binding = "D1"
812
database_name = "prod-alef-core-d1"

services/src/public-api/wrangler.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ account_id = "ad8af7aeb571031ffc236c411f39afe7"
55

66
compatibility_flags = ["nodejs_compat"]
77

8+
[observability]
9+
enabled = true
10+
head_sampling_rate = 1 # optional. default = 1.
11+
812
[vars]
913
AWS_REGION = "us-east-2"
1014
EMAIL_FROM = "noreply@volumetrics.io"

0 commit comments

Comments
 (0)