diff --git a/docs/source/instrumentation.rst b/docs/source/instrumentation.rst index b4578a73..60cde416 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: @@ -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