Instrument attestation signing. (#8508)

We noticed attestation signing taking 2+ seconds on some of our hoodi nodes and the current traces doesn't provide enough details. This PR adds a few more spans to the `attestation_duty_cycle` code path in the VC.

Before:
<img width="842" height="154" alt="image" src="https://github.com/user-attachments/assets/cfc5c8c0-e6f2-4f56-a8e4-65001af4a005" />

After:
<img width="496" height="217" alt="image" src="https://github.com/user-attachments/assets/c91cfa88-af1b-456e-8c64-625809eb6881" />


  


Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
This commit is contained in:
Jimmy Chen
2025-12-02 16:17:13 +11:00
committed by GitHub
parent 4fbe517491
commit 7ef9501ff6
6 changed files with 77 additions and 66 deletions

View File

@@ -12,6 +12,7 @@ parking_lot = { workspace = true }
reqwest = { workspace = true }
serde = { workspace = true }
task_executor = { workspace = true }
tracing = { workspace = true }
types = { workspace = true }
url = { workspace = true }
validator_metrics = { workspace = true }