How do I get appstats to work with webapp2 and extended routing on GAE?
问题 I'm trying to get Appstats to work on my GAE Python app. I'm using webapp2 with python 2.7. I've followed the instructions from https://developers.google.com/appengine/docs/python/tools/appstats#Setup which includes creating the appengine_config.py file: def webapp_add_wsgi_middleware(app): from google.appengine.ext.appstats import recording app = recording.appstats_wsgi_middleware(app) return app And adding the following lines to my app.yaml: builtins: - appstats: on The python app I wish to