@lodestar/beacon-node 1.52.0-dev.6ab73fec0a → 1.52.0-dev.f3cc451977
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/chain/blocks/blockInput/blockInput.d.ts.map +1 -1
- package/lib/chain/blocks/blockInput/blockInput.js +3 -1
- package/lib/chain/blocks/blockInput/blockInput.js.map +1 -1
- package/lib/chain/blocks/verifyBlock.d.ts.map +1 -1
- package/lib/chain/blocks/verifyBlock.js +9 -6
- package/lib/chain/blocks/verifyBlock.js.map +1 -1
- package/lib/chain/blocks/verifyBlocksDataAvailability.d.ts +2 -2
- package/lib/chain/blocks/verifyBlocksDataAvailability.d.ts.map +1 -1
- package/lib/chain/blocks/verifyBlocksDataAvailability.js +3 -3
- package/lib/chain/blocks/verifyBlocksDataAvailability.js.map +1 -1
- package/lib/chain/blocks/verifyPayloadsDataAvailability.d.ts +2 -2
- package/lib/chain/blocks/verifyPayloadsDataAvailability.d.ts.map +1 -1
- package/lib/chain/blocks/verifyPayloadsDataAvailability.js +3 -3
- package/lib/chain/blocks/verifyPayloadsDataAvailability.js.map +1 -1
- package/lib/chain/validation/dataColumnSidecar.d.ts.map +1 -1
- package/lib/chain/validation/dataColumnSidecar.js +8 -1
- package/lib/chain/validation/dataColumnSidecar.js.map +1 -1
- package/lib/chain/validatorMonitor.js +43 -43
- package/lib/chain/validatorMonitor.js.map +1 -1
- package/lib/metrics/metrics/beacon.d.ts +4 -0
- package/lib/metrics/metrics/beacon.d.ts.map +1 -1
- package/lib/metrics/metrics/beacon.js +11 -2
- package/lib/metrics/metrics/beacon.js.map +1 -1
- package/lib/metrics/metrics/lodestar.js +28 -28
- package/lib/metrics/metrics/lodestar.js.map +1 -1
- package/package.json +16 -16
- package/src/chain/blocks/blockInput/blockInput.ts +4 -1
- package/src/chain/blocks/verifyBlock.ts +10 -7
- package/src/chain/blocks/verifyBlocksDataAvailability.ts +4 -4
- package/src/chain/blocks/verifyPayloadsDataAvailability.ts +5 -4
- package/src/chain/validation/dataColumnSidecar.ts +7 -1
- package/src/chain/validatorMonitor.ts +43 -43
- package/src/metrics/metrics/beacon.ts +11 -2
- package/src/metrics/metrics/lodestar.ts +28 -28
|
@@ -68,7 +68,7 @@ export function createLodestarMetrics(
|
|
|
68
68
|
if (genesisTime) {
|
|
69
69
|
register
|
|
70
70
|
.gauge({
|
|
71
|
-
name: "
|
|
71
|
+
name: "lodestar_genesis_time_seconds",
|
|
72
72
|
help: "Genesis time in seconds",
|
|
73
73
|
})
|
|
74
74
|
.set(genesisTime);
|
|
@@ -565,13 +565,13 @@ export function createLodestarMetrics(
|
|
|
565
565
|
}),
|
|
566
566
|
// To measure the time cost of main thread <-> worker message passing
|
|
567
567
|
latencyToWorker: register.histogram({
|
|
568
|
-
name: "
|
|
568
|
+
name: "lodestar_bls_thread_pool_latency_to_worker_seconds",
|
|
569
569
|
help: "Time from sending the job to the worker and the worker receiving it",
|
|
570
570
|
// The dashboard treats 20ms as slow; values above 100ms only need severe-stall classification.
|
|
571
571
|
buckets: [0.00025, 0.001, 0.005, 0.02, 0.1],
|
|
572
572
|
}),
|
|
573
573
|
latencyFromWorker: register.histogram({
|
|
574
|
-
name: "
|
|
574
|
+
name: "lodestar_bls_thread_pool_latency_from_worker_seconds",
|
|
575
575
|
help: "Time from the worker sending the result and the main thread receiving it",
|
|
576
576
|
buckets: [0.00025, 0.001, 0.005, 0.02, 0.1],
|
|
577
577
|
}),
|
|
@@ -775,7 +775,7 @@ export function createLodestarMetrics(
|
|
|
775
775
|
labelNames: ["reason"],
|
|
776
776
|
}),
|
|
777
777
|
elapsedTimeTillReceived: register.histogram({
|
|
778
|
-
name: "
|
|
778
|
+
name: "lodestar_sync_unknown_block_elapsed_time_till_received_seconds",
|
|
779
779
|
help: "Time elapsed between block slot time and the time block received via unknown block sync",
|
|
780
780
|
buckets: [0.5, 1, 2, 4, 6, 12],
|
|
781
781
|
}),
|
|
@@ -930,86 +930,86 @@ export function createLodestarMetrics(
|
|
|
930
930
|
// Gossip block
|
|
931
931
|
gossipBlock: {
|
|
932
932
|
elapsedTimeTillReceived: register.histogram<{source: OpSource}>({
|
|
933
|
-
name: "
|
|
933
|
+
name: "lodestar_gossip_block_elapsed_time_till_received_seconds",
|
|
934
934
|
help: "Time elapsed between block slot time and the time block received via gossip",
|
|
935
935
|
labelNames: ["source"],
|
|
936
936
|
buckets: [0.5, 1, 2, 4, 6, 12],
|
|
937
937
|
}),
|
|
938
938
|
elapsedTimeTillProcessed: register.histogram({
|
|
939
|
-
name: "
|
|
939
|
+
name: "lodestar_gossip_block_elapsed_time_till_processed_seconds",
|
|
940
940
|
help: "Time elapsed between block slot time and the time block processed",
|
|
941
941
|
buckets: [0.5, 1, 2, 4, 6, 12],
|
|
942
942
|
}),
|
|
943
943
|
|
|
944
944
|
gossipValidation: {
|
|
945
945
|
recvToValidation: register.histogram({
|
|
946
|
-
name: "
|
|
946
|
+
name: "lodestar_gossip_block_received_to_gossip_validate_seconds",
|
|
947
947
|
help: "Time elapsed between block received and block validated",
|
|
948
948
|
buckets: [0.05, 0.1, 0.3, 0.5, 0.7, 1, 1.3, 1.6, 2, 2.5, 3, 3.5, 4],
|
|
949
949
|
}),
|
|
950
950
|
validationTime: register.histogram({
|
|
951
|
-
name: "
|
|
951
|
+
name: "lodestar_gossip_block_gossip_validate_time_seconds",
|
|
952
952
|
help: "Time to apply gossip validations",
|
|
953
953
|
buckets: [0.05, 0.1, 0.3, 0.5, 0.7, 1, 1.3, 1.6, 2, 2.5, 3, 3.5, 4],
|
|
954
954
|
}),
|
|
955
955
|
},
|
|
956
956
|
stateTransition: {
|
|
957
957
|
recvToValidation: register.histogram({
|
|
958
|
-
name: "
|
|
958
|
+
name: "lodestar_gossip_block_received_to_state_transition_seconds",
|
|
959
959
|
help: "Time elapsed between block received and block state transition",
|
|
960
960
|
buckets: [0.05, 0.1, 0.3, 0.5, 0.7, 1, 1.3, 1.6, 2, 2.5, 3, 3.5, 4],
|
|
961
961
|
}),
|
|
962
962
|
validationTime: register.histogram({
|
|
963
|
-
name: "
|
|
963
|
+
name: "lodestar_gossip_block_state_transition_time_seconds",
|
|
964
964
|
help: "Time to validate block state transition",
|
|
965
965
|
buckets: [0.05, 0.1, 0.3, 0.5, 0.7, 1, 1.3, 1.6, 2, 2.5, 3, 3.5, 4],
|
|
966
966
|
}),
|
|
967
967
|
},
|
|
968
968
|
signatureVerification: {
|
|
969
969
|
recvToValidation: register.histogram({
|
|
970
|
-
name: "
|
|
970
|
+
name: "lodestar_gossip_block_received_to_signatures_verification_seconds",
|
|
971
971
|
help: "Time elapsed between block received and block signatures verification",
|
|
972
972
|
buckets: [0.05, 0.1, 0.3, 0.5, 0.7, 1, 1.3, 1.6, 2, 2.5, 3, 3.5, 4],
|
|
973
973
|
}),
|
|
974
974
|
validationTime: register.histogram({
|
|
975
|
-
name: "
|
|
975
|
+
name: "lodestar_gossip_block_signatures_verification_time_seconds",
|
|
976
976
|
help: "Time elapsed for block signatures verification",
|
|
977
977
|
buckets: [0.05, 0.1, 0.3, 0.5, 0.7, 1, 1.3, 1.6, 2, 2.5, 3, 3.5, 4],
|
|
978
978
|
}),
|
|
979
979
|
},
|
|
980
980
|
executionPayload: {
|
|
981
981
|
recvToValidation: register.histogram({
|
|
982
|
-
name: "
|
|
982
|
+
name: "lodestar_gossip_block_received_to_execution_payload_verification_seconds",
|
|
983
983
|
help: "Time elapsed between block received and execution payload verification",
|
|
984
984
|
buckets: [0.05, 0.1, 0.3, 0.5, 0.7, 1, 1.3, 1.6, 2, 2.5, 3, 3.5, 4],
|
|
985
985
|
}),
|
|
986
986
|
validationTime: register.histogram({
|
|
987
|
-
name: "
|
|
987
|
+
name: "lodestar_gossip_execution_payload_verification_time_seconds",
|
|
988
988
|
help: "Time elapsed for execution payload verification",
|
|
989
989
|
buckets: [0.05, 0.1, 0.3, 0.5, 0.7, 1, 1.3, 1.6, 2, 2.5, 3, 3.5, 4],
|
|
990
990
|
}),
|
|
991
991
|
},
|
|
992
992
|
blockImport: {
|
|
993
993
|
recvToValidation: register.histogram({
|
|
994
|
-
name: "
|
|
994
|
+
name: "lodestar_gossip_block_received_to_block_import_seconds",
|
|
995
995
|
help: "Time elapsed between block received and block import",
|
|
996
996
|
buckets: [0.05, 0.1, 0.3, 0.5, 0.7, 1, 1.3, 1.6, 2, 2.5, 3, 3.5, 4],
|
|
997
997
|
}),
|
|
998
998
|
validationTime: register.histogram({
|
|
999
|
-
name: "
|
|
999
|
+
name: "lodestar_gossip_block_block_import_time_seconds",
|
|
1000
1000
|
help: "Time elapsed for block import",
|
|
1001
1001
|
buckets: [0.05, 0.1, 0.3, 0.5, 0.7, 1, 1.3, 1.6, 2, 2.5, 3, 3.5, 4],
|
|
1002
1002
|
}),
|
|
1003
1003
|
},
|
|
1004
1004
|
|
|
1005
1005
|
receivedToBlobsAvailabilityTime: register.histogram<{numBlobs: number}>({
|
|
1006
|
-
name: "
|
|
1006
|
+
name: "lodestar_gossip_block_received_to_blobs_availability_time_seconds",
|
|
1007
1007
|
help: "Time elapsed between block received and blobs became available",
|
|
1008
1008
|
buckets: [0.05, 0.1, 0.3, 0.5, 0.7, 1, 1.3, 1.6, 2, 2.5, 3, 3.5, 4],
|
|
1009
1009
|
labelNames: ["numBlobs"],
|
|
1010
1010
|
}),
|
|
1011
1011
|
receivedToFullyVerifiedTime: register.histogram({
|
|
1012
|
-
name: "
|
|
1012
|
+
name: "lodestar_gossip_block_received_to_fully_verified_time_seconds",
|
|
1013
1013
|
help: "Time elapsed between block received and fully verified state, signatures and payload",
|
|
1014
1014
|
buckets: [0.05, 0.1, 0.3, 0.5, 0.7, 1, 1.3, 1.6, 2, 2.5, 3, 3.5, 4],
|
|
1015
1015
|
}),
|
|
@@ -1019,7 +1019,7 @@ export function createLodestarMetrics(
|
|
|
1019
1019
|
buckets: [0.01, 0.015, 0.02, 0.025, 0.03, 0.04, 0.5, 1],
|
|
1020
1020
|
}),
|
|
1021
1021
|
verifiedToBlobsAvailabiltyTime: register.histogram<{numBlobs: number}>({
|
|
1022
|
-
name: "
|
|
1022
|
+
name: "lodestar_gossip_block_verified_to_blobs_availability_time_seconds",
|
|
1023
1023
|
help: "Time elapsed between block verified and blobs became available",
|
|
1024
1024
|
buckets: [0.05, 0.1, 0.3, 0.5, 0.7, 1, 1.3, 1.6, 2, 2.5, 3, 3.5, 4],
|
|
1025
1025
|
labelNames: ["numBlobs"],
|
|
@@ -1045,12 +1045,12 @@ export function createLodestarMetrics(
|
|
|
1045
1045
|
},
|
|
1046
1046
|
gossipBlob: {
|
|
1047
1047
|
recvToValidation: register.histogram({
|
|
1048
|
-
name: "
|
|
1048
|
+
name: "lodestar_gossip_blob_received_to_gossip_validate_seconds",
|
|
1049
1049
|
help: "Time elapsed between blob received and blob validation",
|
|
1050
1050
|
buckets: [0.05, 0.1, 0.2, 0.5, 1, 1.5, 2, 4],
|
|
1051
1051
|
}),
|
|
1052
1052
|
validationTime: register.histogram({
|
|
1053
|
-
name: "
|
|
1053
|
+
name: "lodestar_gossip_blob_gossip_validate_time_seconds",
|
|
1054
1054
|
help: "Time elapsed for blob validation",
|
|
1055
1055
|
buckets: [0.05, 0.1, 0.2, 0.5, 1, 1.5, 2, 4],
|
|
1056
1056
|
}),
|
|
@@ -1058,7 +1058,7 @@ export function createLodestarMetrics(
|
|
|
1058
1058
|
// Gossip execution payload envelope
|
|
1059
1059
|
gossipExecutionPayloadEnvelope: {
|
|
1060
1060
|
elapsedTimeTillReceived: register.histogram<{source: OpSource}>({
|
|
1061
|
-
name: "
|
|
1061
|
+
name: "lodestar_gossip_execution_payload_envelope_elapsed_time_till_received_seconds",
|
|
1062
1062
|
help: "Time elapsed between slot time and the time execution payload envelope received",
|
|
1063
1063
|
labelNames: ["source"],
|
|
1064
1064
|
buckets: [0.5, 1, 2, 4, 6, 12],
|
|
@@ -1157,7 +1157,7 @@ export function createLodestarMetrics(
|
|
|
1157
1157
|
help: "Count persisting block with serialized data",
|
|
1158
1158
|
}),
|
|
1159
1159
|
elapsedTimeTillBecomeHead: register.histogram({
|
|
1160
|
-
name: "
|
|
1160
|
+
name: "lodestar_gossip_block_elapsed_time_till_become_head_seconds",
|
|
1161
1161
|
help: "Time elapsed between block slot time and the time block becomes head",
|
|
1162
1162
|
buckets: [0.5, 1, 2, 4, 6, 12],
|
|
1163
1163
|
}),
|
|
@@ -1595,7 +1595,7 @@ export function createLodestarMetrics(
|
|
|
1595
1595
|
help: "Avg min max of all state cache items total read count",
|
|
1596
1596
|
}),
|
|
1597
1597
|
secondsSinceLastRead: register.avgMinMax({
|
|
1598
|
-
name: "
|
|
1598
|
+
name: "lodestar_state_cache_since_last_read_seconds",
|
|
1599
1599
|
help: "Avg min max of all state cache items seconds since last reads",
|
|
1600
1600
|
}),
|
|
1601
1601
|
stateClonedCount: register.histogram({
|
|
@@ -1664,7 +1664,7 @@ export function createLodestarMetrics(
|
|
|
1664
1664
|
help: "Avg min max of all state cache items total read count",
|
|
1665
1665
|
}),
|
|
1666
1666
|
secondsSinceLastRead: register.avgMinMax({
|
|
1667
|
-
name: "
|
|
1667
|
+
name: "lodestar_cp_state_epoch_since_last_read_seconds",
|
|
1668
1668
|
help: "Avg min max of all state cache items seconds since last reads",
|
|
1669
1669
|
}),
|
|
1670
1670
|
stateClonedCount: register.histogram({
|
|
@@ -1682,7 +1682,7 @@ export function createLodestarMetrics(
|
|
|
1682
1682
|
help: "Total number of states pruned from memory",
|
|
1683
1683
|
}),
|
|
1684
1684
|
statePersistSecFromSlot: register.histogram({
|
|
1685
|
-
name: "
|
|
1685
|
+
name: "lodestar_cp_state_cache_state_persist_from_slot_seconds",
|
|
1686
1686
|
help: "Histogram of time to persist state to db since the clock slot",
|
|
1687
1687
|
buckets: [0, 2, 4, 6, 8, 10, 12],
|
|
1688
1688
|
}),
|
|
@@ -1710,7 +1710,7 @@ export function createLodestarMetrics(
|
|
|
1710
1710
|
buckets: [0, 1, 2, 4, 8, 16, 32],
|
|
1711
1711
|
}),
|
|
1712
1712
|
stateReloadSecFromSlot: register.histogram({
|
|
1713
|
-
name: "
|
|
1713
|
+
name: "lodestar_cp_state_cache_state_reload_from_slot_seconds",
|
|
1714
1714
|
help: "Histogram of time to load state from db since the clock slot",
|
|
1715
1715
|
buckets: [0, 2, 4, 6, 8, 10, 12],
|
|
1716
1716
|
}),
|
|
@@ -1916,7 +1916,7 @@ export function createLodestarMetrics(
|
|
|
1916
1916
|
labelNames: ["entrypoint", "caller"],
|
|
1917
1917
|
}),
|
|
1918
1918
|
regenFnCallDuration: register.histogram<{entrypoint: RegenFnName; caller: RegenCaller}>({
|
|
1919
|
-
name: "
|
|
1919
|
+
name: "lodestar_regen_fn_call_duration_seconds",
|
|
1920
1920
|
help: "regen function duration",
|
|
1921
1921
|
labelNames: ["entrypoint", "caller"],
|
|
1922
1922
|
buckets: [0.1, 1, 10, 100],
|