application-research / autoretrieve

A server to make GraphSync data accessible on IPFS
22 stars 7 forks source link

/stats endpoint #131

Open gmelodie opened 1 year ago

gmelodie commented 1 year ago

We should have a way to get stats from autoretrieve. The ones I'd personally like are:

Not sure if we already have something like this

rvagg commented 1 year ago

We don't, not directly from autoretrieve anyway. But when plugged into a prometheus backend we get a ton of stats, as of this week's changes we're even down to getting specifics on errors:

Screenshot 2022-10-14 at 1 44 54 pm

I imagine it wouldn't be too hard to get something similar set up for Estuary's autoretrieve instance and adding in those additional heartbeat metrics wouldn't be hard (see this week's changes for examples).