mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-01 05:41:03 +00:00
restructure polkadot-node-jaeger (#2642)
This commit is contained in:
committed by
GitHub
parent
59640a38bc
commit
ea6294fa79
@@ -64,11 +64,11 @@ pub async fn answer_request<Context>(
|
||||
where
|
||||
Context: SubsystemContext,
|
||||
{
|
||||
let mut span = jaeger::candidate_hash_span(&req.payload.candidate_hash, "answer-request");
|
||||
span.add_stage(jaeger::Stage::AvailabilityDistribution);
|
||||
let _child_span = span.child_builder("answer-chunk-request")
|
||||
.with_chunk_index(req.payload.index.0)
|
||||
.build();
|
||||
let span = jaeger::Span::new(req.payload.candidate_hash, "answer-request")
|
||||
.with_stage(jaeger::Stage::AvailabilityDistribution);
|
||||
|
||||
let _child_span = span.child("answer-chunk-request")
|
||||
.with_chunk_index(req.payload.index.0);
|
||||
|
||||
let chunk = query_chunk(ctx, req.payload.candidate_hash, req.payload.index).await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user