-->

Programmatically access Google App Engine Quota De

2019-06-23 11:09发布

问题:

Does anyone know if it is possible to access via code either from within App Engine SDK or some form of WebAPI your current account quota details.

I would like to be able to track the datastore usage and bandwidth usage within the running application so that it may alter its behaviour depending on the levels of Quota left for the application.

回答1:

There is a small Quota API for Python which can count CPU usage. As to the best of my knowledge, there is no Quota API for java.



回答2:

You can monitor this issue: api to query quota statistics: