Add configuration docs

This commit is contained in:
Robin Klingsberg 2019-03-02 10:41:19 -05:00
parent b614c7136c
commit b04b140330
3 changed files with 21 additions and 0 deletions

16
docs/configuration.rst Normal file
View file

@ -0,0 +1,16 @@
Configuration
=============
sprockets.mixins.metrics has the ability to be configured via environment variables.
The following environment variables are recognized:
+-----------------+---------------------------------------+----------+---------------+
| Name | Description | Required | Default Value |
+-----------------+---------------------------------------+----------+---------------+
| STATSD_HOST | The StatsD host to connect to | No | 127.0.0.1 |
+-----------------+---------------------------------------+----------+---------------+
| STATSD_PORT | The port on which StatsD is listening | No | 8125 |
+-----------------+---------------------------------------+----------+---------------+
| STATSD_PROTOCOL | The transport-layer protocol to use | No | 8125 |
+-----------------+---------------------------------------+----------+---------------+

View file

@ -3,6 +3,10 @@
Release History
===============
`Next Release`_
---------------
- Add configuration documentation
`4.0.0`_ (06-Feb-2019)
----------------------
- Add support for Tornado 5

View file

@ -8,6 +8,7 @@ License
:hidden:
api
configuration
examples
contributing
history