mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
#7815 - removes all existing spans, so some span fields that appear in logs like `service_name` may be lost. - instruments a few key code paths in the beacon node, starting from **root spans** named below: * Gossip block and blobs * `process_gossip_data_column_sidecar` * `process_gossip_blob` * `process_gossip_block` * Rpc block and blobs * `process_rpc_block` * `process_rpc_blobs` * `process_rpc_custody_columns` * Rpc blocks (range and backfill) * `process_chain_segment` * `PendingComponents` lifecycle * `pending_components` To test locally: * Run Grafana and Tempo with https://github.com/sigp/lighthouse-metrics/pull/57 * Run Lighthouse BN with `--telemetry-collector-url http://localhost:4317` Some captured traces can be found here: https://hackmd.io/@jimmygchen/r1sLOxPPeg Removing the old spans seem to have reduced the memory usage quite a lot - i think we were using them on long running tasks and too excessively: <img width="910" height="495" alt="image" src="https://github.com/user-attachments/assets/5208bbe4-53b2-4ead-bc71-0b782c788669" />
46 lines
1.3 KiB
TOML
46 lines
1.3 KiB
TOML
[package]
|
|
name = "state_processing"
|
|
version = "0.2.0"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>", "Michael Sproul <michael@sigmaprime.io>"]
|
|
edition = { workspace = true }
|
|
|
|
[features]
|
|
default = ["legacy-arith"]
|
|
fake_crypto = ["bls/fake_crypto"]
|
|
legacy-arith = ["types/legacy-arith"]
|
|
arbitrary-fuzz = [
|
|
"types/arbitrary-fuzz",
|
|
"merkle_proof/arbitrary",
|
|
"ethereum_ssz/arbitrary",
|
|
"ssz_types/arbitrary",
|
|
"tree_hash/arbitrary",
|
|
]
|
|
portable = ["bls/supranational-portable"]
|
|
|
|
[dependencies]
|
|
arbitrary = { workspace = true }
|
|
bls = { workspace = true }
|
|
derivative = { workspace = true }
|
|
ethereum_hashing = { workspace = true }
|
|
ethereum_ssz = { workspace = true }
|
|
ethereum_ssz_derive = { workspace = true }
|
|
int_to_bytes = { workspace = true }
|
|
integer-sqrt = "0.1.5"
|
|
itertools = { workspace = true }
|
|
merkle_proof = { workspace = true }
|
|
metrics = { workspace = true }
|
|
rand = { workspace = true }
|
|
rayon = { workspace = true }
|
|
safe_arith = { workspace = true }
|
|
smallvec = { workspace = true }
|
|
ssz_types = { workspace = true }
|
|
test_random_derive = { path = "../../common/test_random_derive" }
|
|
tracing = { workspace = true }
|
|
tree_hash = { workspace = true }
|
|
types = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
beacon_chain = { workspace = true }
|
|
env_logger = { workspace = true }
|
|
tokio = { workspace = true }
|