I was curious if there are any tools or notification systems we could have setup that would alert us when we are close to certain limits:
Records count limits
API limits
Just wanted to see if there was something we didn’t know about that would be useful in regards to knowing when we’re close to hitting these limits or not. A notification or way to monitor that we can hook into.
Sorry, these are gaps in our notifications. They make a lot of sense, though… I’ll turn this into a feature request for you.
In the meantime, here’s an audit of what we do send:
API calls and traffic
We send emails about CDA calls, CMA calls, traffic and video streaming:
Paid plans: we email you at 80% of a limit and again at 100%. (Limits auto-increase after that and get billed as overages, up to some built-in soft-caps that only Support can manually raise.)
Free plans: we email you at 50%, 80% and 100%. Above 100%, the projects stop serving requests until the end of the month.
We don’t send a warning as you get close to the normal record limit. On paid plans, we add extra record packets automatically, up to the maximum your plan allows. After each change, we send a “subscription adjusted” email. Once you reach that maximum, creating new records fails with a PLAN_UPGRADE_REQUIRED error. (This is a softcap that Support can manually raise further for you, if you needed.)
Monitoring it yourself
We don’t have a great system for this either, sorry
We have some semi-documented and/or experimental endpoints for these… use at your own risk for now, sorry. (They’re primarily internal-use endpoints that you can piggyback off of, but without the stability guarantees of our official ones… i.e., they may break without warning at any time.)
Dashboard
Resource usage is what you want for record counts. It returns the usage and quota of every resource. But this won’t work with a regular CMA token; you’ll have to scrape the actual bearer token from your browser (the Authentication header on a dashboard page request, running with the full permissions of your login, so be careful with it).
CMA
Daily Usage endpoint. It returns API calls, traffic and video usage per day.
Usage counters shows which tokens, referrers or paths use the most.
Honestly, none of these are great solutions. The BYO monitoring via the dashboard API is the closest thing for now, but we really should have a better built-in for this. I’ll make a note of it internally, and turn this into a feature request for you.