Programmatically access Google App Engine Quota Details
Asked Answered
E

2

5

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.

Ev answered 19/11, 2009 at 23:35 Comment(0)
S
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.

Syncopate answered 19/11, 2009 at 23:40 Comment(1)
This isn't what the OP was asking - they wanted to access remaining quota, not the amount used by the current request.Blader
H
9

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

Huzzah answered 20/11, 2009 at 0:7 Comment(1)
I have stared this request. Thanks for pointing that one out. Cheers.Ev
S
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.

Syncopate answered 19/11, 2009 at 23:40 Comment(1)
This isn't what the OP was asking - they wanted to access remaining quota, not the amount used by the current request.Blader

© 2022 - 2024 — McMap. All rights reserved.