@@ -25,7 +25,6 @@ use graph::{
2525 components:: store:: { DeploymentId , DeploymentLocator , ModificationsAndCache } ,
2626} ;
2727use graph:: { components:: ethereum:: NodeCapabilities , data:: store:: scalar:: Bytes } ;
28- use graph_chain_ethereum:: SubgraphEthRpcMetrics ;
2928
3029use super :: loader:: load_dynamic_data_sources;
3130use 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