pyramid_ratchet

Ratchet.io plugin for pyramid
Download

pyramid_ratchet Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Brian Rue
  • Publisher web site:
  • http://github.com/brianr/

pyramid_ratchet Tags


pyramid_ratchet Description

pyramid_ratchet is a simple middleware for reporting errors from Pyramid apps to Ratchet.io.InstallationInstall using pip:pip install pyramid_ratchetConfigurationAdd pyramid_ratchet to the beginning of your pyramid.includes:pyramid.includes = pyramid_ratchet pyramid_debugtoolbarAdd the bare minimum configuration variables:ratchet.access_token = 32charactertokenMost users will want a few extra settings to take advantage of more features:ratchet.access_token = 32charactertokenratchet.environment = productionratchet.branch = masterratchet.root = %(here)sratchet.github.account = youraccountratchet.github.repo = yourrepoHere's the full list of configuration variables:access_token Access token from your Ratchet.io projectendpoint URL items are posted to. default: http://submit.ratchet.io/api/item/handler One of:- blocking -- runs in main thread- thread -- spawns a new thread- agent -- writes messages to a log file for consumption by ratchet-agent default: threadenvironment Environment name; should be production, staging, or development.root Absolute path to the root of your application, not including the final /. %(here)s is probably what you want.github.account Github account name for your github repo. Required for Github integration.github.repo Github repo name. Required for Github integration.branch Name of the checked-out branch. Required for Github integration.agent.log_file If handler is agent, the path to the log file. Filename must end in .ratchetContributingContributions are welcome. The project is hosted on github at http://github.com/brianr/pyramid_ratchetProduct's homepage


pyramid_ratchet Related Software