mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
Instrument publish_block code path (#7945)
Instrument `publish_block` code path and log dropped data columns when publishing. Example spans (running the devnet from my laptop, so the numbers aren't great) <img width="734" height="296" alt="image" src="https://github.com/user-attachments/assets/20620bf7-2b38-4392-aa75-9ba96d3a7f0d" /> <img width="718" height="625" alt="image" src="https://github.com/user-attachments/assets/61e1ff1c-65b5-4ad4-981a-d0fadc9829e1" />
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
//! TODO: These span identifiers will be used to implement selective tracing export (to be implemented),
|
||||
//! where only the listed root spans and their descendants will be exported to the tracing backend.
|
||||
|
||||
/// Root span name for publish_block
|
||||
pub const SPAN_PUBLISH_BLOCK: &str = "publish_block";
|
||||
|
||||
/// Data Availability checker span identifiers
|
||||
pub const SPAN_PENDING_COMPONENTS: &str = "pending_components";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user