Closed paymog closed 4 months ago
I tried removing all spans except for #[instrument(skip_all, name = "latest_block_header")]
(which is the span that doesn't seem to get generated) and now trying to unwrap the metadata or the span id results in an error. I guess this is another piece of evidence of this instrumentation not working properly.
I'm an idiot, it was because I had my filters set up incorrectly.
Bug Report
Version
Platform
Description
I'm finding the new spans are not being created in a specific part of my application. I have the following function
The above functions calls the following function
When I run my application, I see the following log lines
This suggests to me that the
#instrument
attribute isn't being correctly applied.I've also tried the following variant where I use the
.instrument
combinator, but that also doesn't seem to work based on the spans I see exported to Jaeger (I see neither theouter_span
nor theinner_span
nor thelatest_block_header
spans exported to Jaeger).