I can t seem to access the analytics

I can't seem to access the analytics engine inside hono. Does anyone know how to do that? I tried c.env.DOMAIN_ANALYTICS.writeDataPoint(dataPoint); I have this in wrangler [[analytics_engine_datasets]] binding = "DOMAIN_ANALYTICS" dataset = "DOMAIN_ANALYTICS"
1 Reply
Advany
AdvanyOP•2y ago
already use it without hono and that works, but wanted to use hono for an other api endpoint I am using wrangler dev --remote undefined. Created a new project with hono and its working. Ill try to figure out whats happening 🙂 updated workerd from 1.20230518.0 to 1.20230628.0, its working now
Want results from more Discord servers?
Add your server