Skip to content

Commit 86c65d6

Browse files
committed
Remove unused metrics
1 parent 06329ec commit 86c65d6

File tree

1 file changed

+0
-55
lines changed

1 file changed

+0
-55
lines changed

beacon_node/beacon_chain/src/metrics.rs

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,6 @@ pub static BLOCK_PROCESSING_COMMITTEE: LazyLock<Result<Histogram>> = LazyLock::n
8585
"Time spent building/obtaining committees for block processing.",
8686
)
8787
});
88-
pub static BLOCK_PROCESSING_SIGNATURE: LazyLock<Result<Histogram>> = LazyLock::new(|| {
89-
try_create_histogram(
90-
"beacon_block_processing_signature_seconds",
91-
"Time spent doing signature verification for a block.",
92-
)
93-
});
9488
pub static BLOCK_PROCESSING_CORE: LazyLock<Result<Histogram>> = LazyLock::new(|| {
9589
try_create_histogram(
9690
"beacon_block_processing_core_seconds",
@@ -591,12 +585,6 @@ pub static FORK_CHOICE_WRITE_LOCK_AQUIRE_TIMES: LazyLock<Result<Histogram>> = La
591585
exponential_buckets(1e-3, 4.0, 7),
592586
)
593587
});
594-
pub static FORK_CHOICE_SET_HEAD_LAG_TIMES: LazyLock<Result<Histogram>> = LazyLock::new(|| {
595-
try_create_histogram(
596-
"beacon_fork_choice_set_head_lag_times",
597-
"Time taken between finding the head and setting the canonical head value",
598-
)
599-
});
600588
pub static BALANCES_CACHE_HITS: LazyLock<Result<IntCounter>> = LazyLock::new(|| {
601589
try_create_int_counter(
602590
"beacon_balances_cache_hits_total",
@@ -651,12 +639,6 @@ pub static DEFAULT_ETH1_VOTES: LazyLock<Result<IntCounter>> = LazyLock::new(|| {
651639
/*
652640
* Chain Head
653641
*/
654-
pub static UPDATE_HEAD_TIMES: LazyLock<Result<Histogram>> = LazyLock::new(|| {
655-
try_create_histogram(
656-
"beacon_update_head_seconds",
657-
"Time taken to update the canonical head",
658-
)
659-
});
660642
pub static HEAD_STATE_SLOT: LazyLock<Result<IntGauge>> = LazyLock::new(|| {
661643
try_create_int_gauge(
662644
"beacon_head_state_slot",
@@ -1547,20 +1529,6 @@ pub static SYNC_CONTRIBUTION_PROCESSING_APPLY_TO_OP_POOL: LazyLock<Result<Histog
15471529
"Time spent applying a sync contribution to the block inclusion pool",
15481530
)
15491531
});
1550-
pub static SYNC_CONTRIBUTION_PROCESSING_SIGNATURE_SETUP_TIMES: LazyLock<Result<Histogram>> =
1551-
LazyLock::new(|| {
1552-
try_create_histogram(
1553-
"beacon_sync_contribution_processing_signature_setup_seconds",
1554-
"Time spent on setting up for the signature verification of sync contribution processing"
1555-
)
1556-
});
1557-
pub static SYNC_CONTRIBUTION_PROCESSING_SIGNATURE_TIMES: LazyLock<Result<Histogram>> =
1558-
LazyLock::new(|| {
1559-
try_create_histogram(
1560-
"beacon_sync_contribution_processing_signature_seconds",
1561-
"Time spent on the signature verification of sync contribution processing",
1562-
)
1563-
});
15641532

15651533
/*
15661534
* General Sync Committee Contribution Processing
@@ -1690,13 +1658,6 @@ pub static DATA_COLUMN_SIDECAR_GOSSIP_VERIFICATION_TIMES: LazyLock<Result<Histog
16901658
"Full runtime of data column sidecars gossip verification",
16911659
)
16921660
});
1693-
pub static DATA_COLUMNS_SIDECAR_PROCESSING_SUCCESSES: LazyLock<Result<IntCounter>> =
1694-
LazyLock::new(|| {
1695-
try_create_int_counter(
1696-
"beacon_data_column_sidecar_processing_successes_total",
1697-
"Number of data column sidecars verified for gossip",
1698-
)
1699-
});
17001661

17011662
pub static BLOBS_FROM_EL_HIT_TOTAL: LazyLock<Result<IntCounter>> = LazyLock::new(|| {
17021663
try_create_int_counter(
@@ -1873,15 +1834,6 @@ pub static BLOCK_PRODUCTION_BLOBS_VERIFICATION_TIMES: LazyLock<Result<Histogram>
18731834
)
18741835
},
18751836
);
1876-
/*
1877-
* Availability related metrics
1878-
*/
1879-
pub static BLOCK_AVAILABILITY_DELAY: LazyLock<Result<IntGauge>> = LazyLock::new(|| {
1880-
try_create_int_gauge(
1881-
"block_availability_delay",
1882-
"Duration between start of the slot and the time at which all components of the block are available.",
1883-
)
1884-
});
18851837

18861838
/*
18871839
* Data Availability cache metrics
@@ -1900,13 +1852,6 @@ pub static DATA_AVAILABILITY_OVERFLOW_MEMORY_STATE_CACHE_SIZE: LazyLock<Result<I
19001852
"Number of entries in the data availability overflow state memory cache.",
19011853
)
19021854
});
1903-
pub static DATA_AVAILABILITY_OVERFLOW_STORE_CACHE_SIZE: LazyLock<Result<IntGauge>> =
1904-
LazyLock::new(|| {
1905-
try_create_int_gauge(
1906-
"data_availability_overflow_store_cache_size",
1907-
"Number of entries in the data availability overflow store cache.",
1908-
)
1909-
});
19101855
pub static DATA_AVAILABILITY_RECONSTRUCTION_TIME: LazyLock<Result<Histogram>> =
19111856
LazyLock::new(|| {
19121857
try_create_histogram(

0 commit comments

Comments
 (0)