mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 22:47:56 +00:00
Improve Network Spans (#2169)
* utility functions for erasure-coding threshold * add candidate-hash tag to candidate jaeger spans * debug implementation for jaeger span * add a span to each live candidate in availability dist. * availability span covers only our piece * fix tests * keep span alive slightly longer * remove spammy bitfield-gossip-received log * Revert "remove spammy bitfield-gossip-received log" This reverts commit 831a2db506d66f64ea516af3caf891e8643f5c43. * add claimed validator to bitfield-gossip span * add peer-id to handle-incoming span * add peer-id to availability distribution span * Update node/network/availability-distribution/src/lib.rs Co-authored-by: Bernhard Schuster <bernhard@ahoi.io> * Update erasure-coding/src/lib.rs Co-authored-by: Bernhard Schuster <bernhard@ahoi.io> * Update node/subsystem/src/jaeger.rs Co-authored-by: Bernhard Schuster <bernhard@ahoi.io> Co-authored-by: Bernhard Schuster <bernhard@ahoi.io>
This commit is contained in:
committed by
GitHub
parent
a864eaa093
commit
41102a6ff9
@@ -731,6 +731,10 @@ async fn handle_incoming_message<'a>(
|
||||
"candidate-hash",
|
||||
&format!("{:?}", candidate_hash.0),
|
||||
);
|
||||
span.add_string_tag(
|
||||
"peer-id",
|
||||
&peer.to_base58(),
|
||||
);
|
||||
span
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user