Add tags to pov-fetcher. (#2768)

* Add tags to pov-fetcher.

* Add stage as well.

* Get rid of redundant tags.
This commit is contained in:
Robert Klotzner
2021-03-30 15:07:07 +02:00
committed by GitHub
parent bdee5a3923
commit 6514e00144
@@ -120,7 +120,8 @@ impl PoVRequester {
)).await;
let span = jaeger::Span::new(candidate_hash, "fetch-pov")
.with_validator_index(from_validator);
.with_validator_index(from_validator)
.with_relay_parent(parent);
ctx.spawn("pov-fetcher", fetch_pov_job(pov_hash, pending_response.boxed(), span, tx).boxed())
.await
.map_err(|e| Error::SpawnTask(e))