Skip to content

Commit b8d3b07

Browse files
committed
Adding logging
1 parent b4d12f1 commit b8d3b07

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "labelzoom-cf-api-proxy",
3-
"version": "1.0.11",
3+
"version": "1.0.12",
44
"private": true,
55
"scripts": {
66
"deploy": "wrangler deploy",

wrangler.toml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ tail_consumers = [
77
{ service = "labelzoom-cf-api-proxy-tail", environment = "production" }
88
]
99

10+
[observability.logs]
11+
enabled = true
12+
head_sampling_rate = 0.25
13+
1014
[limits]
1115
cpu_ms = 100
1216

0 commit comments

Comments
 (0)