以编程方式访问Google App Engine配额详细信息 [英] Programmatically access Google App Engine Quota Details

查看:83
本文介绍了以编程方式访问Google App Engine配额详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道是否可以通过代码从App Engine SDK或某种形式的WebAPI中访问您当前的帐户配额详细信息.

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.

推荐答案

有一个小的

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.

这篇关于以编程方式访问Google App Engine配额详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆