mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 21:31:02 +00:00
Expose relay version metric (#1750)
* expose relay version metric * spelling * and clippy * clippy * typo * use version directly and determine git commit * typos and leftovers
This commit is contained in:
committed by
Bastian Köcher
parent
444dbe7173
commit
70eb076ab2
@@ -98,7 +98,8 @@ where
|
||||
target_transaction_params,
|
||||
);
|
||||
|
||||
let metrics_params: relay_utils::metrics::MetricsParams = data.prometheus_params.into();
|
||||
let metrics_params: relay_utils::metrics::MetricsParams =
|
||||
data.prometheus_params.into_metrics_params()?;
|
||||
GlobalMetrics::new()?.register_and_spawn(&metrics_params.registry)?;
|
||||
|
||||
parachains_relay::parachains_loop::run(
|
||||
|
||||
Reference in New Issue
Block a user