From aa9562624d5de7716be54ae60b4b76b898311640 Mon Sep 17 00:00:00 2001 From: Igor Konforti Date: Sun, 18 Feb 2018 19:35:53 +0200 Subject: [PATCH] less text is more... --- docs/source/instrumentation.rst | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docs/source/instrumentation.rst b/docs/source/instrumentation.rst index 8fe7ad09..abb057f4 100644 --- a/docs/source/instrumentation.rst +++ b/docs/source/instrumentation.rst @@ -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: @@ -31,12 +31,5 @@ all requests. The following metrics are generated: * ``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