Merge pull request #33 from ibnpaul/add-configuration-docs

Add configuration docs
This commit is contained in:
Andrew Rabert 2019-03-04 13:17:59 -05:00 committed by GitHub
commit 67a1d524bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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