mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 07: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
@@ -110,7 +110,7 @@ impl<Left: ChainWithTransactions + CliChain, Right: ChainWithTransactions + CliC
|
||||
right: BridgeEndCommonParams<Right>,
|
||||
) -> anyhow::Result<Self> {
|
||||
// Create metrics registry.
|
||||
let metrics_params = shared.prometheus_params.clone().into();
|
||||
let metrics_params = shared.prometheus_params.clone().into_metrics_params()?;
|
||||
let metrics_params = relay_utils::relay_metrics(metrics_params).into_params();
|
||||
|
||||
Ok(Self { shared, left, right, metrics_params })
|
||||
|
||||
Reference in New Issue
Block a user