Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Pyramid debugtoolbar extension for mongo

Project Description

An extension panel for Pyramid Debug Toolbar that adds MongoDB debugging information

This is a clone of https://github.com/hmarr/django-debug-toolbar-mongo for the Pyramid Debug Toolbar (https://github.com/Pylons/pyramid_debugtoolbar)

Setup

Add the following lines to your paster config file:

pyramid.includes =
    ...
    pyramid_debugtoolbar
    pyramid_debugtoolbar_mongo
    ...

debugtoolbar.panels =
    pyramid_debugtoolbar.panels.versions.VersionDebugPanel
    pyramid_debugtoolbar.panels.settings.SettingsDebugPanel
    pyramid_debugtoolbar.panels.headers.HeaderDebugPanel
    pyramid_debugtoolbar.panels.request_vars.RequestVarsDebugPanel
    pyramid_debugtoolbar.panels.renderings.RenderingsDebugPanel
    pyramid_debugtoolbar.panels.logger.LoggingPanel
    pyramid_debugtoolbar.panels.performance.PerformanceDebugPanel
    pyramid_debugtoolbar.panels.routes.RoutesDebugPanel
    pyramid_debugtoolbar.panels.sqla.SQLADebugPanel
    pyramid_debugtoolbar.panels.tweens.TweensDebugPanel
    pyramid_debugtoolbar.panels.introspection.IntrospectionDebugPanel
    pyramid_debugtoolbar_mongo.panels.mongo.MongoDebugPanel

An extra panel titled “MongoDB” should appear in your debug toolbar.

Obtaining stack traces can slow down queries significantly. To turn them off add the following lines to your paster config file:

debugtoolbarmongo.stacktrace = false

TODO

  • Nice layout
  • Drop down for the stack trace
  • Tests

Contributions welcome

Release History

Release History

This version
History Node

0.2.3

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyramid_debugtoolbar_mongo-0.2.3-py2.7.egg (11.4 kB) Copy SHA256 Checksum SHA256 2.7 Egg Jan 3, 2015
pyramid_debugtoolbar_mongo-0.2.3.tar.gz (5.4 kB) Copy SHA256 Checksum SHA256 Source Jan 3, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting