projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adds use of CustomCollector in Prometheus exporter
[osm/MON.git]
/
osm_mon
/
core
/
settings.py
diff --git
a/osm_mon/core/settings.py
b/osm_mon/core/settings.py
index
d27f0ca
..
9700af5
100644
(file)
--- a/
osm_mon/core/settings.py
+++ b/
osm_mon/core/settings.py
@@
-65,6
+65,9
@@
class Config(object):
CfgParam('OS_NOTIFIER_URI', "http://localhost:8662", six.text_type),
CfgParam('OS_DEFAULT_GRANULARITY', "300", six.text_type),
CfgParam('REQUEST_TIMEOUT', 10, int),
CfgParam('OS_NOTIFIER_URI', "http://localhost:8662", six.text_type),
CfgParam('OS_DEFAULT_GRANULARITY', "300", six.text_type),
CfgParam('REQUEST_TIMEOUT', 10, int),
+ CfgParam('OSMMON_LOG_LEVEL', "INFO", six.text_type),
+ CfgParam('OSMMON_KAFKA_LOG_LEVEL', "WARN", six.text_type),
+ CfgParam('OSMMON_COLLECTOR_INTERVAL', 10, int),
]
_config_dict = {cfg.key: cfg for cfg in _configuration}
]
_config_dict = {cfg.key: cfg for cfg in _configuration}