Prefix VC root spans with lh_ so they get exported to tracing backend (#9129)

The tracing exporter uses a `PrefixBasedSampler` that only samples root spans whose name starts with `lh_`. Rename the VC root spans to include the prefix so their traces are exported.

Thanks @lmnzx for pointing this out!


  


Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
This commit is contained in:
Jimmy Chen
2026-04-16 10:07:58 +10:00
committed by GitHub
parent 30446b9f3a
commit e0922badbe
3 changed files with 6 additions and 6 deletions

View File

@@ -404,7 +404,7 @@ impl<S: ValidatorStore + 'static, T: SlotClock + 'static> BlockService<S, T> {
}
#[instrument(
name = "block_proposal_duty_cycle",
name = "lh_block_proposal_duty_cycle",
skip_all,
fields(%slot, ?validator_pubkey)
)]