Start monitoring server at benchmark tool

This commit is contained in:
Roman Zeyde 2018-06-13 12:40:21 +03:00
parent 96663c12e8
commit a6c9912c55
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

View File

@ -31,6 +31,8 @@ fn run() -> Result<()> {
let signal = Waiter::new();
let config = Config::from_args();
let metrics = Metrics::new(config.monitoring_addr);
metrics.start();
let daemon = Daemon::new(config.network_type, &metrics)?;
let fake_store = FakeStore {};
let index = Index::load(&fake_store, &metrics);