Metadata-Version: 1.0
Name: pyramid-scales
Version: 1.0
Summary: Viewing scales metrics from Pyramid
Home-page: https://github.com/wosc/pyramid_scales/
Author: Wolfgang Schnerring <ws@gocept.com>
Author-email: ws@gocept.com
License: BSD
Description: ==============
        pyramid_scales
        ==============
        
        .. pandoc -f rst -t markdown -o README.md README.txt
        
        .. image:: https://travis-ci.org/wosc/pyramid_scales.png
           :target: https://travis-ci.org/wosc/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).
        
        
        .. _`scales`: https://github.com/Cue/scales
        .. _`flask`: http://flask.pocoo.org/
        .. _`Metrics everywhere`: http://codahale.com/codeconf-2011-04-09-metrics-metrics-everywhere.pdf
        .. _`pyramid`: http://docs.pylonsproject.org/en/latest/docs/pyramid.html
        
        
        =========================
        Developing pyramid_scales
        =========================
        
        :Author:
            Wolfgang Schnerring <ws@gocept.com>
        
        :PyPI page:
            http://pypi.python.org/pypi/pyramid_scales/
        
        :Issues:
            `report by e-mail to <ws@gocept.com>`_
        
        :Source code:
            https://github.com/wosc/pyramid_scales/
        
        
        =============================
        Change log for pyramid_scales
        =============================
        
        1.0 (2013-11-06)
        ================
        
        initial release
        
Platform: UNKNOWN
