Skip to content

Commit 97aa39b

Browse files
committed
Add wrangler toml
1 parent ae60909 commit 97aa39b

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ worker/
99
node_modules/
1010
.cargo-ok
1111
.env
12-
wrangler.toml
12+
.wrangler
13+
data/
14+
config/

wrangler.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#:schema node_modules/wrangler/config-schema.json
2+
name = "cf-metrics"
3+
tail_consumers = [{service = "cf-metrics-tail"}]
4+
main = "index.js"
5+
compatibility_date = "2024-12-05"
6+
compatibility_flags = ["nodejs_compat"]
7+
send_metrics = false
8+
9+
[vars]
10+
INFLUX_URL = "http://localhost:8086"
11+
INFLUX_TOKEN = "example"
12+
INFLUX_ORG = "example"
13+
INFLUX_BUCKET = "example"

0 commit comments

Comments
 (0)