Pass Prometheus Registry into Client (#5120)

* Add a few metrics to Client

* Improve PrometheusConfig

* Fix client docs
This commit is contained in:
Gavin Wood authored and GitHub committed 2020-03-05 13:40:33 +01:00
1 parent 7177ad5cf0
commit 906e08ee2a
13 files changed
+59 -55

No files matched your search

+2 -1
View File
@@ -210,7 +210,8 @@ impl<Block: BlockT, Executor, Backend, G: GenesisInit> TestClientBuilder<Block,
ExecutionExtensions::new(
self.execution_strategies,
self.keystore.clone(),
)
),
None,
).expect("Creates new client");
let longest_chain = sc_client::LongestChain::new(self.backend);