![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | process_request |
def | process_response |
Django Middleware to install the instrumentation. To start recording your app's RPC statistics, add 'google.appengine.ext.appstats.recording.AppstatsDjangoMiddleware', to the MIDDLEWARE_CLASSES entry in your Django settings.py file. It's best to insert it in front of any other middleware classes, since some other middleware may make RPC calls and those won't be recorded if that middleware is invoked before this middleware. See http://docs.djangoproject.com/en/dev/topics/http/middleware/.
def google.appengine.ext.appstats.recording.AppstatsDjangoMiddleware.process_request | ( | self, | |
request | |||
) |
Called by Django before deciding which view to execute.
def google.appengine.ext.appstats.recording.AppstatsDjangoMiddleware.process_response | ( | self, | |
request, | |||
response | |||
) |
Called by Django just before returning a response.