So for my side product Cavapi, I'm trying to find a good metric tool that is precise because I will use it for charging the customer.
Cavapi creates static snapshots from Notion API, and customers consume those snapshots through an API.
So I want to keep track of the number of requests they made and possibly use it for the pay-as-you-go billing system, so the metric tool has to be reliable and provide the functionality to break down the metric per customer.
I am looking forward to hearing the solutions you use.
Cheers
Do you really need a SaaS solution for this? You could simply tally each API request in a database table against the user ID and use Stripe's volume pricing to charge for it. Only 2-3 lines of code.
I can do that but since it's a request-based system I was thinking about showing the stats to user which would include the time based metric (like how cloudflare does it for the workers request).
But you are right I guess for now I just keep 1 row per month and that's it.
Cheers mate