Cannot access AppStats on deployed version

194 Views Asked by At

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?

1

There are 1 best solutions below

0
On BEST ANSWER

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