This commit is contained in:
John Smith
2022-08-29 11:22:03 -04:00
parent acf65fa48b
commit 38ec19d9da
4 changed files with 437 additions and 474 deletions

View File

@@ -373,7 +373,8 @@ impl RPCProcessor {
let (span_id, rpcreader) = res.take_value().unwrap();
let end_ts = intf::get_timestamp();
Span::current().follows_from(span_id);
// fixme: causes crashes? "Missing otel data span extensions"??
//Span::current().follows_from(span_id);
(rpcreader, end_ts - start_ts)
}))
@@ -903,7 +904,8 @@ impl RPCProcessor {
receiver.recv_async().timeout_at(stop_token.clone()).await
{
let rpc_worker_span = span!(parent: None, Level::TRACE, "rpc_worker");
rpc_worker_span.follows_from(span_id);
// fixme: causes crashes? "Missing otel data span extensions"??
//rpc_worker_span.follows_from(span_id);
let _enter = rpc_worker_span.enter();
let _ = self