Skip to main content

WSGI middleware to measure the memory footprint of GAE Python applications.

Project description

The apptrace package provides a WSGI middleware for tracking memory usage in Google App Engine Python applications.

Since apptrace is meant for development and debugging purposes only, it works with the development appserver of the Google App Engine Python SDK and TyphoonAE. It will definitely not work on the GAE production environment.

Requirements

The apptrace package requires Guppy-PE (http://guppy-pe.sourceforge.net) to be installed on your PYTHONPATH. It will be automatically installed when you use the easy_install command.

Installation

The easiest way to install apptrace is (provided that you have setuptools installed) to use easy_install apptrace.

Running Apptrace

In order to run the demo application with apptrace run following commands:

$ apptracectl init demo
$ python dev_appserver.py demo

See this wiki page for a more detailed documentation on using apptrace:

http://code.google.com/p/apptrace/wiki/UsingApptrace

Buildout

If you want to tinker with the most recent development version of apptrace, install the development environment by typing following commands:

$ hg clone https://apptrace.googlecode.com/hg apptrace-dev
$ cd apptrace-dev
$ python bootstrap.py --distribute
$ ./bin/buildout

Running Unit Tests

All unit tests can be run by executing the following command:

$ ./bin/python setup.py test --appengine-path=<path to the SDK>

Contact

Tobias Rodaebel <tobias dot rodaebel at googlemail dot com>

CHANGES

Version 0.2.1 (2010-10-13)

Version 0.2.0 (2010-10-12)

  • Adds simple code browser.

Version 0.1.1 (2010-10-02)

  • Uses a separate memcache namespace for storing records.

Version 0.1.0 (2010-10-01)

  • Initial revision.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apptrace-0.2.1.tar.gz (247.3 kB view details)

Uploaded Source

File details

Details for the file apptrace-0.2.1.tar.gz.

File metadata

  • Download URL: apptrace-0.2.1.tar.gz
  • Upload date:
  • Size: 247.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for apptrace-0.2.1.tar.gz
Algorithm Hash digest
SHA256 2eebf85f44488f5003851a5d4ec2acffebfab14c720a67f24cba39d7f981710e
MD5 11e86d25bc28adb90b883f475d5131d2
BLAKE2b-256 360d6cd53c9f62cf51b2883c593c85d25189d776c027b6caaee18edd1ba7e8a5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page