Skip to main content

Detecting long requests LIVE, using paster

Project description

A library to watch for long requests LIVE. LIVE means events get fired as soon as a request takes more than the predefined time, not just on request completion.

CHANGES

1.1.0 (2018-02-06)

  • Support Python 2.7, 3.5 and 3.6

1.0.10 (2015-10-23)

  • Added the thread stack trace to the log message.

  • Added an event to hook in monitoring of thread pool state.

1.0.9 (2013-10-02)

  • Fix getAllThreadInfo with None / borked worker_environ

1.0.8 (2013-09-30)

  • Added finished-log-level to be able to set the logging level when a long running requests is finished.

  • Added verbose option, setting that on will include the other running thread’s infos in the log entry

1.0.7 (2013-09-16)

  • Added

    • getThreadsUsed: Return the current number of working threads

    • getMaxThreadsUsed: Return the number MAX of working threads since last cleared

1.0.6 (2013-08-28)

  • Removed the dbgp dependency

1.0.5 (2013-08-26)

  • Moved removeWSGIStuff to RequestCheckerThread.

  • Feature: collecting maximum request times, use getMaxRequestTime to retrieve

1.0.4 (2012-05-22)

  • First public release

1.0.3 (2012-05-22)

  • Added exclude-url-%i options

1.0.2 (2012-05-16)

  • The original URL should be shown instead of the internal one. (using HTTP_X_FORWARDED_FOR)

  • Drop meaningless wsgi environment variables

  • Only report a request over limits once.

  • Report the final duration of the request.

  • When a zope request is around - Report the principal running the request. - List the query/form parameters in a nicely formatted form.

1.0.1 (2012-05-04)

  • Forgot to declare the make_filter entry point.

1.0.0 (2012-05-04)

  • Initial release as a separate package.

Project details


Download files

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

Source Distribution

cipher.longrequest-1.1.0.tar.gz (17.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page