Skip to content

Commit 94bfa41

Browse files
committed
remove old metrics
1 parent dcecc93 commit 94bfa41

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

Diff for: crates/engine/tree/src/tree/payload_processor/multiproof.rs

-14
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,6 @@ pub(super) struct ProofCalculated {
123123
sequence_number: u64,
124124
/// Sparse trie update
125125
update: SparseTrieUpdate,
126-
/// Total number of account targets
127-
account_targets: usize,
128-
/// Total number of storage slot targets
129-
storage_targets: usize,
130126
/// The time taken to calculate the proof.
131127
elapsed: Duration,
132128
}
@@ -409,10 +405,6 @@ pub(crate) struct MultiProofTaskMetrics {
409405

410406
/// Histogram of proof calculation durations.
411407
pub proof_calculation_duration_histogram: Histogram,
412-
/// Histogram of proof calculation account targets.
413-
pub proof_calculation_account_targets_histogram: Histogram,
414-
/// Histogram of proof calculation storage targets.
415-
pub proof_calculation_storage_targets_histogram: Histogram,
416408

417409
/// Histogram of sparse trie update durations.
418410
pub sparse_trie_update_duration_histogram: Histogram,
@@ -822,12 +814,6 @@ where
822814
self.metrics
823815
.proof_calculation_duration_histogram
824816
.record(proof_calculated.elapsed);
825-
self.metrics
826-
.proof_calculation_account_targets_histogram
827-
.record(proof_calculated.account_targets as f64);
828-
self.metrics
829-
.proof_calculation_storage_targets_histogram
830-
.record(proof_calculated.storage_targets as f64);
831817

832818
debug!(
833819
target: "engine::root",

0 commit comments

Comments
 (0)