Complete telemetry for parachain & relaychain (#301)

* Complete telemetry for parachain & relaychain

* Update Substrate & Polkadot
This commit is contained in:
Cecile Tonglet
2021-01-29 16:02:31 +01:00
committed by GitHub
parent bf33585b01
commit 52fcabdbb0
20 changed files with 407 additions and 317 deletions
+3 -5
View File
@@ -49,13 +49,13 @@ pub fn new_partial(
(),
sp_consensus::import_queue::BasicQueue<Block, PrefixedMemoryDB<BlakeTwo256>>,
sc_transaction_pool::FullPool<Block, TFullClient<Block, RuntimeApi, Executor>>,
Option<sc_telemetry::TelemetrySpan>,
(),
>,
sc_service::Error,
> {
let inherent_data_providers = sp_inherents::InherentDataProviders::new();
let (client, backend, keystore_container, task_manager, telemetry_span) =
let (client, backend, keystore_container, task_manager) =
sc_service::new_full_parts::<Block, RuntimeApi, Executor>(&config)?;
let client = Arc::new(client);
@@ -85,7 +85,7 @@ pub fn new_partial(
transaction_pool,
inherent_data_providers,
select_chain: (),
other: telemetry_span,
other: (),
};
Ok(params)
@@ -125,7 +125,6 @@ where
)?;
let params = new_partial(&parachain_config)?;
let telemetry_span = params.other;
params
.inherent_data_providers
.register_provider(sp_timestamp::InherentDataProvider)
@@ -171,7 +170,6 @@ where
network: network.clone(),
network_status_sinks,
system_rpc_tx,
telemetry_span,
})?;
let announce_block = {