mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
less text is more...
This commit is contained in:
parent
992eaaac24
commit
aa9562624d
@ -17,7 +17,7 @@ To use statsD, just tell Gunicorn where the statsD server is:
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. 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
|
The ``Statsd`` logger overrides ``gunicorn.glogging.Logger`` to track
|
||||||
all requests. The following metrics are generated:
|
all requests. The following metrics are generated:
|
||||||
@ -31,12 +31,5 @@ all requests. The following metrics are generated:
|
|||||||
* ``gunicorn.log.exception``: rate of exceptional log messages
|
* ``gunicorn.log.exception``: rate of exceptional log messages
|
||||||
|
|
||||||
|
|
||||||
``Statsd`` logger also provides a prefix for the metrics:
|
|
||||||
|
|
||||||
* ``--statsd-prefix STATSD_PREFIX``
|
|
||||||
* ````
|
|
||||||
|
|
||||||
A trailing ``.`` is added, if not provided.
|
|
||||||
|
|
||||||
|
|
||||||
.. _statsD: https://github.com/etsy/statsd
|
.. _statsD: https://github.com/etsy/statsd
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user