Skip to main content

Pyramid tween to generate a callgraph image for every request

Project description

This package provides a Pyramid tween to generate a callgraph image for every request.

It uses the Python Call Graph package for tracing and graph generation. See its documentation for example images.

Usage

Add pyramid_pycallgraph to the pyramid.includes in your application’s .ini file:

pyramid.includes =
    pyramid_pycallgraph

Configuration

The default options of the pycallgraph.config.Config object can be overridden in your application’s .ini file.

Example:

pycallgraph.include_stdlib = True
pycallgraph.max_depth = 10000

pycallgraph.trace_filter.exclude =
pycallgraph.trace_filter.include =
    sqlalchemy.*
    pyramid.*
    myapp.*

Development

Status

Currently pyramid_pycallgraph is in alpha / development state and should be considered no more than a proof of concept. There are no tests at all and it might or might not work for you.

Contributions

Contributions are highly welcome. Just clone the Github repository and start hacking. If you think your work might be generally useful, feel free to open a pull request.

Changelog

0.1.0 - 2015-12-21

  • Initial version

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

pyramid_pycallgraph-0.1.0.tar.gz (4.1 kB view hashes)

Uploaded Source

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