@@ -25,7 +25,6 @@ use graph::{
25
25
components:: store:: { DeploymentId , DeploymentLocator , ModificationsAndCache } ,
26
26
} ;
27
27
use graph:: { components:: ethereum:: NodeCapabilities , data:: store:: scalar:: Bytes } ;
28
- use graph_chain_ethereum:: SubgraphEthRpcMetrics ;
29
28
30
29
use super :: loader:: load_dynamic_data_sources;
31
30
use super :: SubgraphInstance ;
@@ -79,9 +78,6 @@ struct IndexingContext<T: RuntimeHostBuilder<C>, C: Blockchain> {
79
78
/// Sensors to measure the execution of the subgraph's runtime hosts
80
79
pub host_metrics : Arc < HostMetrics > ,
81
80
82
- /// Sensors to measure the execution of eth rpc calls
83
- pub ethrpc_metrics : Arc < SubgraphEthRpcMetrics > ,
84
-
85
81
pub block_stream_metrics : Arc < BlockStreamMetrics > ,
86
82
}
87
83
@@ -390,10 +386,6 @@ where
390
386
deployment. hash . as_str ( ) ,
391
387
stopwatch_metrics. clone ( ) ,
392
388
) ) ;
393
- let ethrpc_metrics = Arc :: new ( SubgraphEthRpcMetrics :: new (
394
- registry. clone ( ) ,
395
- & deployment. hash ,
396
- ) ) ;
397
389
let block_stream_metrics = Arc :: new ( BlockStreamMetrics :: new (
398
390
registry. clone ( ) ,
399
391
& deployment. hash ,
@@ -441,7 +433,6 @@ where
441
433
} ,
442
434
subgraph_metrics,
443
435
host_metrics,
444
- ethrpc_metrics,
445
436
block_stream_metrics,
446
437
} ;
447
438
0 commit comments