mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #1705 from confiq/master
Better docs for statsd prefix
This commit is contained in:
commit
06e252f23e
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user