Whats the best way for me to add no/low latency analytics to my API? I just need to send a post requ
Whats the best way for me to add no/low latency analytics to my API? I just need to send a post request to an external server

wrangler.toml at runtime? is it set in an env or something? "foo" then it will be an identifier rather than a string).name property - I think they'd be open to adding it onto that binding though, I don't see why not.name and deployment revision number & timestamp on the new one tooexport { Foo } from './foo' in your index.js/tsexport, not import.
otel-cf-workers package setup, so I'd want to attach logs to traces automatically and have the logs easily searchable within Baselime.
[define]
WORKER_NAME = '"foo"'{"name":"test-worker","deployment":{"id":"1a737aad-3c1a-40bf-90aa-4c0d1f840e13","number":51,"timestamp":"2024-04-27T02:52:40.970522Z"}}{"id":"72412edc-6438-4fe1-82b9-310ef69844f0","tag":""}[[unsafe.bindings]]
name = "METADATA"
type = "metadata"exportimportotel-cf-workers// entrypoint/userEntrypoint.ts
// Not recognize in this file
export class UserStore extends WorkerEntrypoint<Env> {
...
}// index.ts
// If I copy all UserStore content in index, it's ok.
export default class extends WorkerEntrypoint {
async fetch() {
const response = `
Version: 1.0.0\n
Code Name: Piston
Description: Database Worker\n
Changes: Initial version\n
Health Check: OK
`;
return new Response(response, { status: 200 });
}
}import { UserStore } from "./entrypoints/userEntrypoint"