Start monitoring server at benchmark tool
This commit is contained in:
parent
96663c12e8
commit
a6c9912c55
|
@ -31,6 +31,8 @@ fn run() -> Result<()> {
|
||||||
let signal = Waiter::new();
|
let signal = Waiter::new();
|
||||||
let config = Config::from_args();
|
let config = Config::from_args();
|
||||||
let metrics = Metrics::new(config.monitoring_addr);
|
let metrics = Metrics::new(config.monitoring_addr);
|
||||||
|
metrics.start();
|
||||||
|
|
||||||
let daemon = Daemon::new(config.network_type, &metrics)?;
|
let daemon = Daemon::new(config.network_type, &metrics)?;
|
||||||
let fake_store = FakeStore {};
|
let fake_store = FakeStore {};
|
||||||
let index = Index::load(&fake_store, &metrics);
|
let index = Index::load(&fake_store, &metrics);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user