Skip to content

Commit

Permalink
[docs] add StatsD setup instructions (apache#3813)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored Nov 11, 2017
1 parent ad50548 commit a283059
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -550,3 +550,20 @@ same server.
return "Ok"

BLUEPRINTS = [simple_page]

StatsD logging
--------------

Superset is instrumented to log events to StatsD if desired. Most endpoints hit
are logged as well as key events like query start and end in SQL Lab.

To setup StatsD logging, it's a matter of configuring the logger in your
``superset_config.py``.

..code ::

from superset.stats_logger import StatsdStatsLogger
STATS_LOGGER = StatsdStatsLogger(host='localhost', port=8125, prefix='superset')

Note that it's also possible to implement you own logger by deriving
``superset.stats_logger.BaseStatsLogger``.

0 comments on commit a283059

Please sign in to comment.