Companion for substrate #12910: BEEFY metrics (#6706)

* service: provide prometheus registry for beefy metrics

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Adrian Catangiu
2023-02-16 15:34:39 +02:00
committed by GitHub
parent 9a5e01a3b4
commit 686f6972ce
2 changed files with 202 additions and 219 deletions
+200 -219
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -518,6 +518,7 @@ where
grandpa_block_import, grandpa_block_import,
backend.clone(), backend.clone(),
client.clone(), client.clone(),
config.prometheus_registry().cloned(),
); );
let babe_config = babe::configuration(&*client)?; let babe_config = babe::configuration(&*client)?;
@@ -859,6 +860,7 @@ where
&genesis_hash, &genesis_hash,
config.chain_spec.fork_id(), config.chain_spec.fork_id(),
client.clone(), client.clone(),
prometheus_registry.clone(),
); );
if enable_beefy { if enable_beefy {
config config