Java způsob získání statistiky aplikace v App Engine


Jak jsem psal v předchozím příspěvku, pracoval jsem na knihovně, která stáhne z Google App Engine detaily kvót a limitů pro sledování aplikace.

Dnes jsem tuto knihovnu pojmenovanou jako gae-app-manager dokončil a udělal release ve verzi 0.0.1.

Můžete ji najít na http://sourceforge.net/projects/gae-app-manager/

Vydal jsem ji i jako utilitu pro použití v konzole (http://sourceforge.net/projects/gae-app-manager/files/0.0.1/net.sf.gae-app-manager-0.0.1-jar-with-dependencies.jar/download).

Návod pro kompilaci utility http://gae-app-manager.sourceforge.net/.

Enjoy.

$ java -jar net.sf.gae-app-manager-0.0.1-jar-with-dependencies.jar
Usage: java -jar gae-app-manager.jar [full gmail address] [account password] [appspot application name]

Ex.:
java -jar gae-app-manager.jar alois.belaska@gmail.com heslo eshopsengine

$ java -jar target/net.sf.gae-app-manager-0.0.1-SNAPSHOT-jar-with-dependencies.jar alois.belaska@gmail.com ****** eshopsengine
Quotas are reset every 24 hours. Next reset: 19 hours
REQUESTS_CPU_TIME[0.00/6.50 (0%) CPU hours,OKAY]
REQUESTS_COUNT[2/1333328 (0%),OKAY]
REQUESTS_OUTGOING_BANDWIDTH[0.00/1.00 (0%) GBytes,OKAY]
REQUESTS_INCOMING_BANDWIDTH[0.00/1.00 (0%) GBytes,OKAY]
REQUESTS_SECURE_COUNT[0/1333328 (0%),OKAY]
REQUESTS_SECURE_OUTGOING_BANDWIDTH[0.00/1.00 (0%) GBytes,OKAY]
REQUESTS_SECURE_INCOMING_BANDWIDTH[0.00/1.00 (0%) GBytes,OKAY]
STORAGE_DATASTORE_API_CALLS[0/10368000 (0%),OKAY]
STORAGE_BLOBSTORE_API_CALLS[0/10368000 (0%),OKAY]
STORAGE_TOTAL_STORED_DATA[0.00/1.00 (0%) GBytes,OKAY]
STORAGE_BLOBSTORE_STORED_DATA[0.00/1.00 (0%) GBytes,OKAY]
STORAGE_DATA_SENT_TO_DATASTORE_API[0.00/12.00 (0%) GBytes,OKAY]
STORAGE_DATA_RECEIVED_FROM_DATASTORE_API[0.00/116.00 (0%) GBytes,OKAY]
STORAGE_DATASTORE_CPU_TIME[0.00/62.11 (0%) CPU hours,OKAY]
MAIL_MAIL_API_CALLS[0/7000 (0%),OKAY]
MAIL_RECIPIENTS_EMAILED[0/2000 (0%),OKAY]
MAIL_ADMINS_EMAILED[0/5000 (0%),OKAY]
MAIL_MESSAGE_BODY_DATA_SENT[0.00/0.06 (0%) GBytes,OKAY]
MAIL_ATTACHMENTS_SENT[0/2000 (0%),OKAY]
MAIL_ATTACHMENT_DATA_SENT[0.00/0.10 (0%) GBytes,OKAY]
URLFETCH_API_CALLS[0/657084 (0%),OKAY]
URLFETCH_DATA_SENT[0.00/4.00 (0%) GBytes,OKAY]
URLFETCH_DATA_RECEIVED[0.00/4.00 (0%) GBytes,OKAY]
IMAGEMANIPULATION_API_CALLS[0/864000 (0%),OKAY]
IMAGEMANIPULATION_DATA_SENT_TO_API[0.00/1.00 (0%) GBytes,OKAY]
IMAGEMANIPULATION_DATA_RECEIVED_FROM_API[0.00/5.00 (0%) GBytes,OKAY]
IMAGEMANIPULATION_TRANSFORMATIONS_EXECUTED[0/2592000 (0%),OKAY]
MEMCACHE_API_CALLS[0/8640000 (0%),OKAY]
MEMCACHE_DATA_SENT_TO_API[0.00/1.00 (0%) GBytes,OKAY]
MEMCACHE_DATA_RECEIVED_FROM_API[0.00/5.00 (0%) GBytes,OKAY]
XMPP_API_CALLS[0/657084 (0%),OKAY]
XMPP_DATA_SENT[0.00/4.00 (0%) GBytes,OKAY]
XMPP_RECIPIENTS_MESSAGED[0/657084 (0%),OKAY]
XMPP_INVITATIONS_SENT[0/1000 (0%),OKAY]
TASKQUEUE_API_CALLS[0/100000 (0%),OKAY]
DEPLOYMENTS_COUNT[0/1000 (0%),OKAY]

Advertisements

2 comments

Zanechat Odpověď

Vyplňte detaily níže nebo klikněte na ikonu pro přihlášení:

WordPress.com Logo

Komentujete pomocí vašeho WordPress.com účtu. Odhlásit / Změnit )

Twitter picture

Komentujete pomocí vašeho Twitter účtu. Odhlásit / Změnit )

Facebook photo

Komentujete pomocí vašeho Facebook účtu. Odhlásit / Změnit )

Google+ photo

Komentujete pomocí vašeho Google+ účtu. Odhlásit / Změnit )

Připojování k %s