[google-appengine] Dashboard API

16 views
Skip to first unread message

Chris Killpack

unread,
Apr 26, 2010, 3:05:02 AM4/26/10
to google-a...@googlegroups.com
I recently discovered that I had become a human cron-job: every night around 11:50pm PST I would log into the GAE dashboard, total the number of requests in my app and store them in a spreadsheet so I could track load over time.

I've found no mention of a dashboard API, which leaves scraping the HTML. This is non trivial because I have to deal with the Account login page, which I expect goes out of it's way to make auto login's hard. I thought about hard-coding the relevant cookies into the cron job, generating new ones by manual login every time the existing ones fail. But it appears the relevant cookies only last 24 hours, so I'm back to my nightly routine.

Is there another way to retrieve this info, and if not, are there plans for such a mechanism? I've found an open issue:

Thanks,

Chris

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Nick Johnson (Google)

unread,
Apr 26, 2010, 10:03:30 AM4/26/10
to google-a...@googlegroups.com
Hi Chris,

Have you considered simply using Google Analytics?

-Nick Johnson
--
Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047

Peter Recore

unread,
Apr 26, 2010, 1:51:34 PM4/26/10
to Google App Engine
doesn't Google Analytics require JavaScript to be active on the
client? If so, that would ignore hits from various categories of
clients like people running no-script and agents making API calls
through some kind of web service. i think it would also ignore
internal requests, like from a cron job.

On Apr 26, 10:03 am, "Nick Johnson (Google)" <nick.john...@google.com>
wrote:
> Hi Chris,
>
> Have you considered simply using Google Analytics?
>
> -Nick Johnson
>
>
>
> On Mon, Apr 26, 2010 at 8:05 AM, Chris Killpack <killp...@gmail.com> wrote:
> > I recently discovered that I had become a human cron-job: every night
> > around 11:50pm PST I would log into the GAE dashboard, total the number of
> > requests in my app and store them in a spreadsheet so I could track load
> > over time.
>
> > I've found no mention of a dashboard API, which leaves scraping the
> > HTML. This is non trivial because I have to deal with the Account login
> > page, which I expect goes out of it's way to make auto login's hard. I
> > thought about hard-coding the relevant cookies into the cron job, generating
> > new ones by manual login every time the existing ones fail. But it appears
> > the relevant cookies only last 24 hours, so I'm back to my nightly routine.
>
> > Is there another way to retrieve this info, and if not, are there plans for
> > such a mechanism? I've found an open issue:
>
> >http://code.google.com/p/googleappengine/issues/detail?id=655&can=5&c...
>
> > Thanks,
>
> > Chris
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-a...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengi...@googlegroups.com<google-appengine%2Bunsu...@googlegroups.com>
> > .

Ikai L (Google)

unread,
Apr 26, 2010, 2:41:59 PM4/26/10
to google-a...@googlegroups.com
We've heard requests for a Dashboard API before. I can certainly see the usefulness of being able to not just do read operations, but write operations as well. Make sure to star the issue and get others to do it.

--
Ikai Lan 
Developer Relations, Google App Engine

----------------
Google App Engine links:
Blog: http://googleappengine.blogspot.com 

Harlan Crystal

unread,
Apr 27, 2010, 4:01:11 PM4/27/10
to google-a...@googlegroups.com
The use of this that is more important to me is doing sysadmin-work.
I'm constantly checking my admin console throughout the day to make
sure my error rate isn't high or that my taskqueues aren't backed up.
If I could use an API to query this data and send problems to a pager
it would really improve my life.

Tim Hoffman

unread,
Apr 28, 2010, 2:37:28 AM4/28/10
to Google App Engine
Why doesn't the ereporter handler meet your requirements

http://blog.notdot.net/2010/03/Using-the-ereporter-module-for-easy-error-reporting-in-App-Engine

T

On Apr 28, 4:01 am, Harlan Crystal <harlan.crys...@gmail.com> wrote:
> The use of this that is more important to me is doing sysadmin-work.
> I'm constantly checking my admin console throughout the day to make
> sure my error rate isn't high or that my taskqueues aren't backed up.
> If I could use an API to query this data and send problems to a pager
> it would really improve my life.
>
> On Mon, Apr 26, 2010 at 2:41 PM, Ikai L (Google) <ika...@google.com> wrote:
>
>
>
>
>
> > We've heard requests for a Dashboard API before. I can certainly see the
> > usefulness of being able to not just do read operations, but write
> > operations as well. Make sure to star the issue and get others to do it.
>
> > On Mon, Apr 26, 2010 at 10:51 AM, Peter Recore <peterrec...@gmail.com>
> >> > > google-appengi...@googlegroups.com<google-appengine%2Bunsubscrib e...@googlegroups.com>

Harlan Crystal

unread,
Apr 28, 2010, 12:50:45 PM4/28/10
to google-a...@googlegroups.com
Thanks Tim! I'll look into that

vivpuri

unread,
Apr 28, 2010, 6:34:59 PM4/28/10
to Google App Engine
That still does not alert you on Task Queue quota, error rate,
response time,....



On Apr 28, 2:37 am, Tim Hoffman <zutes...@gmail.com> wrote:
> Why doesn't the ereporter handler meet your requirements
>
> http://blog.notdot.net/2010/03/Using-the-ereporter-module-for-easy-er...
Reply all
Reply to author
Forward
0 new messages