mirror of
https://github.com/valitydev/yandex-tank.git
synced 2024-11-06 02:15:22 +00:00
move monitoring config to etc
This commit is contained in:
parent
e1ce7b834a
commit
d0b17123ab
5
setup.py
5
setup.py
@ -47,6 +47,9 @@ analytic tools for the results they produce.
|
||||
],
|
||||
},
|
||||
data_files=[
|
||||
('/etc/yandex-tank', ['config/00-base.ini'])
|
||||
('/etc/yandex-tank', [
|
||||
'config/00-base.ini',
|
||||
'config/monitoring_default_config.xml'
|
||||
])
|
||||
]
|
||||
)
|
||||
|
@ -63,7 +63,7 @@ class MonitoringPlugin(AbstractPlugin):
|
||||
self.monitoring = None
|
||||
|
||||
if self.config == 'auto':
|
||||
self.config = os.path.dirname(__file__) + '/monitoring_default_config.xml'
|
||||
self.config = '/etc/yandex-tank/monitoring_default_config.xml'
|
||||
|
||||
try:
|
||||
autostop = self.core.get_plugin_of_type(AutostopPlugin)
|
||||
|
Loading…
Reference in New Issue
Block a user