以编程方式访问Google App Engine配额详情 [英] Programatically access Google App Engine Quota Details

查看:145
本文介绍了以编程方式访问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.

谢谢。 / p>

Thanks.

推荐答案

有一个适用于Python的配额API,可以统计CPU的使用情况。据我所知,Java没有配额API。

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天全站免登陆