This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

pyramid_scales

The excellent scales library to collect in-process metrics (see Coda Hale’s CodeConf talk “Metrics everywhere” among many others for reasons why you might want use it) comes with a flask-based HTTP server that allows viewing the collected measurements and dumping them as JSON. But if you already are in a web application using pyramid, there’s no real need to spin up yet another thread, open another port etc. to do this.

Instead, you can simply include pyramid_scales like so:

import pyramid.config
config = pyramid.config.Configurator()
# rest of your configuration goes here
config.include('pyramid_scales')

This registeres a view below the URL /scales/ where you can view your application’s metrics. If you need more control, register the pyramid_scales.scales_stats view yourself in whichever way you need.

This package is compatible with Python version 2.7 (scales itself does not support Python3 yet, so there’s no point here).

Developing pyramid_scales

Author:Wolfgang Schnerring <wosc@wosc.de>
PyPI page:https://pypi.python.org/pypi/pyramid_scales
Issues:report via e-mail
Source code:https://github.com/wosc/pyramid_scales

Change log for pyramid_scales

1.1 (2015-02-03)

  • Make Python3 compatible (patch by Hynek Schlawack)

1.0 (2013-11-06)

initial release

Release History

Release History

1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyramid_scales-1.1.zip (10.5 kB) Copy SHA256 Checksum SHA256 Source Feb 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