pythongoogle-app-engineappstats

Cannot access AppStats on deployed version


I have enabled appstats for my Python App Engine application, and I can access it locally under the /_ah/stats/ url but when I deploy the application and visit the appspot.com under my application in the UI there is no custom AppStats link as it should have. In my yaml file I define:

builtins:
- appstats: on

I wrap my application in appengine_config.py like this:

def webapp_add_wsgi_middleware(app):
  app = SessionMiddleware(app, cookie_key="MyRandomString")
  app = recording.appstats_wsgi_middleware(app)
  return app

I used this configuration from this answer.

Am I missing something?


Solution

  • There shouldn't be a link in the managment site (unless you add it using admin_console).
    The stats should be available at your-app-id.appspot.com/_ah/stats