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.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Littlejon
  • 1,066
  • 9
  • 24

2 Answers2

9

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

slckin
  • 937
  • 7
  • 12
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.

Dmitry
  • 3,740
  • 15
  • 17
  • This isn't what the OP was asking - they wanted to access remaining quota, not the amount used by the current request. – Nick Johnson Nov 01 '11 at 00:24