Skip to content

infrae/infrae.scales

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=============
infrae.scales
=============

Middleware to collect statistics about HTTP requests and memory usage.

Example, in your paster configuration::

  [filter:scales]
  use = egg:infrae.scales
  publisher_signature = ++stats++
  name = silva
  scales_smi = .*\+\+rest\+\+
  scales_resources = .*\+\+static\+\+

Configuration options
=====================

Those configuration options are usable inside paster configuration file.

``name``
  Prefix used to host statics.

``publisher_signature``
  URL prefix on which the statics will be accessible.

Option started with ``scales_``
  Prefix used to define statics prefixes. Any URL matching the given
  regular expression will have its statics collected under this
  prefix. If no given prefixes is match, the statics will be collected
  under the ``default`` prefix.

Code repository
===============

You can find the code of this extension in Git:
https://github.com/infrae/infrae.scales

About

WSGI middleware for scales and memory debugging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages