Open adamalton opened 1 year ago
This still needs the Cloudflare queues feature to be enabled before we can deploy it, but I think it's now in a good place to have a code review.
Once we've deployed it we'll also need to tell the appropriate people in PL to schedule Prometheus to fetch data from the new /metrics
endpoint.
It's now been suggested that we should use CF Analytics Engine for this instead. So I'm taking this back for some refactoring.
WIP: beginnings of storing basic metrics to be fetched by Prometheus.
Will fix #83 (partially).
Some notes for implementation:
count()
query on theIPNSRecord
Durable Object namespace (which might be pretty slow, TBC) or keeping track of creations and deletions.