Exchange transactions relay dashboard (#241)

* update dashboards

* cargo fmt --all

* Update deployments/rialto/dashboard/prometheus/prometheus.yml

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
This commit is contained in:
Svyatoslav Nikolsky
2020-07-28 18:19:16 +03:00
committed by Bastian Köcher
parent ae88e86d6d
commit 8456d0d969
3 changed files with 22 additions and 4 deletions
+6 -1
View File
@@ -98,7 +98,12 @@ pub fn run<P: TransactionProofPipeline>(
let mut metrics_global = GlobalMetrics::new();
let mut metrics_exch = ExchangeLoopMetrics::new();
let metrics_enabled = metrics_params.is_some();
metrics_start(metrics_params, &metrics_global, &metrics_exch);
metrics_start(
format!("{}_to_{}_Exchange", P::SOURCE_NAME, P::TARGET_NAME),
metrics_params,
&metrics_global,
&metrics_exch,
);
let exit_signal = exit_signal.fuse();