Browse Source
Start monitoring server at benchmark tool
refactor-mempool
Roman Zeyde
7 years ago
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB
1 changed files with
2 additions and
0 deletions
-
src/bin/bench_index.rs
|
|
@ -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); |
|
|
|