Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ebcd872

Browse files
committed
instance_manager: remove dead field
1 parent 7a138f1 commit ebcd872

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

core/src/subgraph/instance_manager.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ use graph::{
2525
components::store::{DeploymentId, DeploymentLocator, ModificationsAndCache},
2626
};
2727
use graph::{components::ethereum::NodeCapabilities, data::store::scalar::Bytes};
28-
use graph_chain_ethereum::SubgraphEthRpcMetrics;
2928

3029
use super::loader::load_dynamic_data_sources;
3130
use super::SubgraphInstance;
@@ -79,9 +78,6 @@ struct IndexingContext<T: RuntimeHostBuilder<C>, C: Blockchain> {
7978
/// Sensors to measure the execution of the subgraph's runtime hosts
8079
pub host_metrics: Arc<HostMetrics>,
8180

82-
/// Sensors to measure the execution of eth rpc calls
83-
pub ethrpc_metrics: Arc<SubgraphEthRpcMetrics>,
84-
8581
pub block_stream_metrics: Arc<BlockStreamMetrics>,
8682
}
8783

@@ -390,10 +386,6 @@ where
390386
deployment.hash.as_str(),
391387
stopwatch_metrics.clone(),
392388
));
393-
let ethrpc_metrics = Arc::new(SubgraphEthRpcMetrics::new(
394-
registry.clone(),
395-
&deployment.hash,
396-
));
397389
let block_stream_metrics = Arc::new(BlockStreamMetrics::new(
398390
registry.clone(),
399391
&deployment.hash,
@@ -441,7 +433,6 @@ where
441433
},
442434
subgraph_metrics,
443435
host_metrics,
444-
ethrpc_metrics,
445436
block_stream_metrics,
446437
};
447438

0 commit comments

Comments
 (0)