Skip to content

Commit

Permalink
Merge branch 'release/4.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamDumpleton committed Jun 8, 2014
2 parents 190c9e9 + db1f0f7 commit c2914ef
Show file tree
Hide file tree
Showing 18 changed files with 795 additions and 54 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ lib
apxs
libtool
docs/_build
newrelic.ini
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@ agent configuration file.

mod_wsgi-express wsgi.py --with-newrelic

When using this option, if you have also installed the ``mod_wsgi-metrics``
Python package, then additional metrics about Apache and mod_wsgi will also
be reported via the New Relic Platform API. These will appear as a separate
set of dashboards under 'mod_wsgi' in the left hand side navigation bar of
the New Relic UI.

New Relic provides a free Lite tier so there is no excuse for not using it.
Learn about what your Python web application is really doing. [1]_

Expand Down
2 changes: 2 additions & 0 deletions docs/release-notes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Release Notes
.. toctree::
:maxdepth: 2

version-4.2.0.rst

version-4.1.3.rst
version-4.1.2.rst
version-4.1.1.rst
Expand Down
46 changes: 46 additions & 0 deletions docs/release-notes/version-4.2.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
=============
Version 4.2.0
=============

Version 4.2.0 of mod_wsgi can be obtained from:

https://github.com/GrahamDumpleton/mod_wsgi/archive/4.2.0.tar.gz

Known Issues
------------

1. The makefiles for building mod_wsgi on Windows are currently broken and
need updating. As most new changes relate to mod_wsgi daemon mode, which is
not supported under Windows, you should keep using the last available
binary for version 3.X on Windows instead.

New Features
------------

1. Added ``mod_wsgi.server_metrics()`` function which provides access to a
dictionary of data derived from the Apache worker scoreboard. In effect this
provides access to the same information that is used to create the Apache
server status page.

Note that if ``mod_status`` is not loaded into Apache, or the compile time
configuration of Apache prohibits the scoreboard from being available, this
function will return ``None``.

Also be aware that only partial information about worker status, and no
information about requests, will be returned if the ``ExtendedStatus``
directive is not also set to ``On``.

Although ``mod_status`` needs to be loaded, it is not necessary to enable
any URL to expose the server status page.

2. Added support for a platform plugin for New Relic to ``mod_wsgi-express``
which will report server status information up to New Relic if the
``--with-newrelic`` option is supplied when running mod_wsgi express.

That same option also enables the New Relic Python agent. If you only want
one or the other, you can instead use the ``--with-newrelic-agent`` and
``--with-newrelic-platform`` options.

The feature of ``mod_wsgi-express`` for reporting data up to the New Relic
Platform is dependent upon the separate ``mod_wsgi-metrics`` package being
installed.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,5 @@ def _version():
ext_modules = [extension],
entry_points = { 'console_scripts':
['mod_wsgi-express = mod_wsgi.server:main'],},
install_requires=['mod_wsgi-metrics >= 1.0.0'],
)
Loading

0 comments on commit c2914ef

Please sign in to comment.