grazies / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 1 forks source link

add support to programmatically check quota #352

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of related component: Core Reporting API

Request summary:
Add an API for checking Google API quota status. Note then that this is 
probably not a GA-specific request.

Use Cases:
We desire to build an alerting system to inform us when daily quota is being 
approached.

Original issue reported on code.google.com by ch...@shufflepoint.com on 18 Oct 2013 at 3:34

GoogleCodeExporter commented 8 years ago
I have a similar request. We have high priority and low priority processes that 
are running on GAE.  Although we always try to leave plenty of quota as 
overhead, if something goes wrong (e.g., a run-away process), we want to be 
able to shut down the non-critical processes *before* we hit a quota limit.

Original comment by michael....@gmail.com on 4 Nov 2013 at 5:00

GoogleCodeExporter commented 8 years ago
+1 for this request

My system integrates with the GAE and being able to programatically check the 
percentage of requests used toward quota would be extremely useful.

Original comment by michaelr...@gmail.com on 19 Dec 2014 at 3:52

GoogleCodeExporter commented 8 years ago
Is there still no way to read current API usage. Especially 500 writes per day 
is pain in the a** :(

Original comment by ddofb...@gmail.com on 8 Sep 2015 at 4:09

GoogleCodeExporter commented 8 years ago
DDofborg, What is the use case for more then 500 writes per day? have you 
attempted to implement batching (for user permissions)? we recently implemented 
a batching solution for user permissions in which you can do 30 writes for the 
cost of one, and see significant performance gains. 
https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtUserPermiss
ions#batching

Also you can apply for a quota increase, and if you meet the criteria you will 
likely get an approval: 
https://developers.google.com/analytics/devguides/config/mgmt/v3/limits-quotas?h
l=en

Original comment by mcoh...@google.com on 8 Sep 2015 at 4:28

GoogleCodeExporter commented 8 years ago
In our case it's for a referrer spam killing tool 
(https://www.adwordsrobot.com/en/tools/ga-referrer-spam-killer). We need to add 
35 filters to each view. We are hitting the limit very often. I don't think 
batching will help here, because it 35 writes per view for one account.

I already applied for a quota increase, so that is in progress.

I still think having insights in your usage is a good idea, because you can 
notify user before the quota problems occur. Any plans for that? Or is there 
another way? Like via Developers Console?

Original comment by ddofb...@gmail.com on 9 Sep 2015 at 8:26