Merge pull request #1705 from confiq/master

Better docs for statsd prefix
This commit is contained in:
Randall Leeds 2018-02-20 11:01:57 -08:00 committed by GitHub
commit 06e252f23e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ To use statsD, just tell Gunicorn where the statsD server is:
.. code-block:: bash
$ gunicorn --statsd-host=localhost:8125 ...
$ gunicorn --statsd-host=localhost:8125 --statsd-prefix=service.app ...
The ``Statsd`` logger overrides ``gunicorn.glogging.Logger`` to track
all requests. The following metrics are generated:
@ -30,4 +30,7 @@ all requests. The following metrics are generated:
* ``gunicorn.log.warning``: rate of warning log messages
* ``gunicorn.log.exception``: rate of exceptional log messages
See the statsd-host_ setting for more information.
.. _statsd-host: settings.html#statsd-host
.. _statsD: https://github.com/etsy/statsd