restructure polkadot-node-jaeger (#2642)

This commit is contained in:
Bernhard Schuster authored and GitHub committed 2021-03-19 16:51:16 +01:00
1 parent 59640a38bc
commit ea6294fa79
19 files changed
+658 -498

No files matched your search

@@ -665,8 +665,8 @@ async fn handle_recover(
) -> error::Result<()> {
let candidate_hash = receipt.hash();
let mut span = jaeger::candidate_hash_span(&candidate_hash, "availbility-recovery");
span.add_stage(jaeger::Stage::AvailabilityRecovery);
let span = jaeger::Span::new(candidate_hash, "availbility-recovery")
.with_stage(jaeger::Stage::AvailabilityRecovery);
if let Some(result) = state.availability_lru.get(&candidate_hash) {
if let Err(e) = response_sender.send(result.clone()) {