Skip to content

Commit

Permalink
fix: remove unused gossip block metrics from network core (#6120)
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig authored Nov 23, 2023
1 parent fa30bcf commit be1cf76
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions packages/beacon-node/src/network/core/metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,45 +291,6 @@ export function createNetworkCoreMetrics(register: RegistryMetricCreator) {
labelNames: ["subnet"],
}),
},

// Gossip block
gossipBlock: {
elapsedTimeTillReceived: register.histogram({
name: "lodestar_gossip_block_elapsed_time_till_received",
help: "Time elapsed between block slot time and the time block received via gossip",
buckets: [0.5, 1, 2, 4, 6, 12],
}),
elapsedTimeTillProcessed: register.histogram({
name: "lodestar_gossip_block_elapsed_time_till_processed",
help: "Time elapsed between block slot time and the time block processed",
buckets: [0.5, 1, 2, 4, 6, 12],
}),
receivedToGossipValidate: register.histogram({
name: "lodestar_gossip_block_received_to_gossip_validate",
help: "Time elapsed between block received and block validated",
buckets: [0.05, 0.1, 0.2, 0.5, 1, 1.5, 2, 4],
}),
receivedToStateTransition: register.histogram({
name: "lodestar_gossip_block_received_to_state_transition",
help: "Time elapsed between block received and block state transition",
buckets: [0.05, 0.1, 0.2, 0.5, 1, 1.5, 2, 4],
}),
receivedToSignaturesVerification: register.histogram({
name: "lodestar_gossip_block_received_to_signatures_verification",
help: "Time elapsed between block received and block signatures verification",
buckets: [0.05, 0.1, 0.2, 0.5, 1, 1.5, 2, 4],
}),
receivedToExecutionPayloadVerification: register.histogram({
name: "lodestar_gossip_block_received_to_execution_payload_verification",
help: "Time elapsed between block received and execution payload verification",
buckets: [0.05, 0.1, 0.2, 0.5, 1, 1.5, 2, 4],
}),
receivedToBlockImport: register.histogram({
name: "lodestar_gossip_block_received_to_block_import",
help: "Time elapsed between block received and block import",
buckets: [0.05, 0.1, 0.2, 0.5, 1, 1.5, 2, 4],
}),
},
};
}

Expand Down

0 comments on commit be1cf76

Please sign in to comment.