storacha / w3name

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

Add basic w3name stats in grafana #83

Open mbommerez opened 2 years ago

mbommerez commented 2 years ago

Needs investigation.

We need to list the basic stats that we need.

mbommerez commented 2 years ago

Maarten to look into current stats that are used.

dchoi27 commented 2 years ago

As a starting list, let's track:

At the very least would be great to be able to generate charts like this

image

...but also have the capability of seeing where the usage comes from (by API key for number of w3name records, and by w3name record for updates and gets)

adamalton commented 2 years ago

After discussion, we think that it's probably best to do an initial version of this, providing the basic stats, and then do the (much more time-consuming) addition of the "by API key" and "by w3name" breakdowns as a follow-up ticket. I.e. get something valuable done asap.

Work in progress is in #94.

adamalton commented 1 year ago

Hugo has suggested that instead of making stats available to Prometheus, we should instead use Cloudflare Analytics Engine. This does look like it's probably a better solution, but it changes the requirements of the ticket, so the PR (#94) now needs to be refactored to use Analytics Engine instead.