[add] Docs and default config for metric plugins (#1148)

This commit is contained in:
iTitou 2018-03-28 00:51:32 +02:00 committed by kevgliss
parent 12135c445b
commit a316cbba73
2 changed files with 18 additions and 0 deletions

View File

@ -518,6 +518,21 @@ For more information about how to use social logins, see: `Satellizer <https://g
GOOGLE_SECRET = "somethingsecret" GOOGLE_SECRET = "somethingsecret"
Metric Providers
~~~~~~~~~~~~~~~~
If you are not using a metric provider you do not need to configure any of these options.
.. data:: ACTIVE_PROVIDERS
:noindex:
A list of metric plugins slugs to be ativated.
::
METRIC_PROVIDERS = ['atlas-metric']
Plugin Specific Options Plugin Specific Options
----------------------- -----------------------

View File

@ -108,6 +108,9 @@ LEMUR_DEFAULT_ORGANIZATIONAL_UNIT = ''
# Authentication Providers # Authentication Providers
ACTIVE_PROVIDERS = [] ACTIVE_PROVIDERS = []
# Metrics Providers
METRIC_PROVIDERS = []
# Logging # Logging
LOG_LEVEL = "DEBUG" LOG_LEVEL = "DEBUG"