storacha / w3name

IPNS client and service for generating, updating, and tracking immutable names with signed updates
Other
45 stars 12 forks source link

feat: basic stats #94

Open adamalton opened 1 year ago

adamalton commented 1 year ago

WIP: beginnings of storing basic metrics to be fetched by Prometheus.

Will fix #83 (partially).

Some notes for implementation:

adamalton commented 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.

adamalton commented 1 year ago

It's now been suggested that we should use CF Analytics Engine for this instead. So I'm taking this back for some refactoring.