Skip to content

Commit a200c34

Browse files
committed
Fix up wrangler.json
1 parent ad29bf2 commit a200c34

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

apps/auditlogs/wrangler.jsonc

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"name": "mcp-cloudflare-auditlogs-dev",
1111
"migrations": [
1212
{
13-
"new_sqlite_classes": ["UserDetails", "AuditlogMCP"],
13+
"new_sqlite_classes": ["AuditlogMCP"],
1414
"tag": "v1"
1515
}
1616
],
@@ -66,21 +66,28 @@
6666
},
6767
{
6868
"class_name": "UserDetails",
69-
"name": "USER_DETAILS"
69+
"name": "USER_DETAILS",
70+
"script_name": "mcp-cloudflare-workers-observability-staging"
7071
}
7172
]
7273
},
7374
"kv_namespaces": [
7475
{
75-
"binding": "OAUTH_KV_AUDITLOGS_STAGING",
76+
"binding": "OAUTH_KV",
7677
"id": "bff0ee5812834b8a8cc9bd5575a8f9d8"
7778
}
7879
],
7980
"vars": {
8081
"ENVIRONMENT": "staging",
8182
"MCP_SERVER_NAME": "auditlogs-staging",
8283
"MCP_SERVER_VERSION": "1.0.0"
83-
}
84+
},
85+
"analytics_engine_datasets": [
86+
{
87+
"binding": "MCP_METRICS",
88+
"dataset": "mcp-metrics-staging"
89+
}
90+
],
8491
},
8592
"production": {
8693
"name": "mcp-cloudflare-auditlogs-production",
@@ -94,21 +101,28 @@
94101
},
95102
{
96103
"class_name": "UserDetails",
97-
"name": "USER_DETAILS"
104+
"name": "USER_DETAILS",
105+
"script_name": "mcp-cloudflare-workers-observability-production"
98106
}
99107
]
100108
},
101109
"kv_namespaces": [
102110
{
103-
"binding": "OAUTH_KV_AUDITLOGS_PRODUCTION",
111+
"binding": "OAUTH_KV",
104112
"id": "76f528c773154012826bfba6d18f42db"
105113
}
106114
],
107115
"vars": {
108116
"ENVIRONMENT": "production",
109117
"MCP_SERVER_NAME": "auditlogs",
110118
"MCP_SERVER_VERSION": "1.0.0"
111-
}
119+
},
120+
"analytics_engine_datasets": [
121+
{
122+
"binding": "MCP_METRICS",
123+
"dataset": "mcp-metrics-production"
124+
}
125+
],
112126
}
113127
}
114128
}

0 commit comments

Comments
 (0)