ahhh yes...i remember. given that appstats, while helpful for testing, has a significant performance overhead (200ish ms per request i think), and that some (like me) have custom appengine_config.py files we moved web2py's appengine_config.py to appengine_config.example.py.

rename the file, redeploy and you should be all set. if you have a moment, consider submitting a patch to the documentation to clarify that! ;)

christian

On 4/16/13 8:41 , José Manuel López wrote:
Hi Christian,
First thank you for your response :) !.
In app.yaml I have: appstats:on
Regarding appengine_config.py, I don't have it!... the only one is
appengine_config.example.py that contains:
def webapp_add_wsgi_middleware(app):
     from google.appengine.ext.appstats import recording
     app = recording.appstats_wsgi_middleware(app)
     return app
I think this can be the problem?.



On Tuesday, April 16, 2013 8:19:51 AM UTC+2, Christian Foster Howes wrote:

Jose,

i'm behind in my web2py upgrades but can you check:

  - do you have app stats enabled in app.yaml?
  - what does your appengine_config.py look like?

cfh

On Monday, April 15, 2013 12:28:59 AM UTC-7, José Manuel López wrote:


<https://lh4.googleusercontent.com/-xPEFarglbpA/UWvXiWWPdnI/AAAAAAAAAB0/vB3xDkBUeVY/s1600/Captura+de+pantalla+2013-04-15+a+la%28s%29+09.25.48.png>
Hi,
AppStats doesn't work in my App although I have this in gaehandler.py:

LOG_STATS = TrueAPPSTATS = True
DEBUG = False

I have do anything wrong because it doesn't work in Local or in
googlespot.
As you can see in the screenshot I've the AppStats link in the CUSTOM
section, but when I select it, nothing is showed.
What is needed to enable the AppStats, I need to profile my Application.
Thank you for your help.

EDIT: I have the version 2.4.6 stable.




--

--- You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to