Appstats traceback's need some love

24 views
Skip to first unread message

Jason Collins

unread,
Apr 12, 2012, 11:56:55 AM4/12/12
to Google App Engine
We used to have really helpful tracebacks in appstats that pointed to
our actual source.

Somewhere along the way, we lost them, leaving us with things like
this:

Stack:
<path[8]>/google/appengine/datastore/datastore_rpc.py:1165
make_rpc_call()
<path[8]>/google/appengine/datastore/datastore_query.py:2381
_make_query_result_rpc_call()
<path[8]>/google/appengine/datastore/datastore_query.py:2190
create_async()
<path[8]>/google/appengine/datastore/datastore_rpc.py:93
positional_wrapper()
<path[8]>/google/appengine/datastore/datastore_query.py:1787
run_async()
<path[8]>/google/appengine/datastore/datastore_query.py:1657 run()
<path[8]>/google/appengine/api/datastore.py:1595 GetBatcher()
<path[8]>/google/appengine/api/datastore.py:1616 Run()
<path[8]>/google/appengine/ext/db/__init__.py:2010 run()
<path[8]>/google/appengine/ext/db/__init__.py:2091 fetch()
[This is the bottom of the traceback.]

Any possible way to get back the helpful tracebacks?

Amir More

unread,
Apr 12, 2012, 12:24:15 PM4/12/12
to google-a...@googlegroups.com
your can enlarge the depth of the appstats traceback by adding an appengine_config.py file at the root of your project
add the following parameter
appstats_MAX_STACK = <depth>

Jason Collins

unread,
Apr 12, 2012, 12:37:06 PM4/12/12
to Google App Engine
Wow - I was just telling someone about appstats configuration. I can't
believe I missed this.

Thanks!
j
Reply all
Reply to author
Forward
0 new messages