Skip to content

Instantly share code, notes, and snippets.

@feczo
Created May 8, 2014 04:15
Show Gist options
  • Save feczo/01ced20d0000dadb2fef to your computer and use it in GitHub Desktop.
Save feczo/01ced20d0000dadb2fef to your computer and use it in GitHub Desktop.
appengine_config.py
def webapp_add_wsgi_middleware(app):
from google.appengine.ext.appstats import recording
app = recording.appstats_wsgi_middleware(app)
return app
appstats_SHELL_OK = True
app.yaml
[..]
handlers:
[..]
- url: /stats.*
script: google.appengine.ext.appstats.ui.app
builtins:
[..]
- appstats: on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment