Some transaction samples have spans, some not

I'm using elastic-apm 4.0.2 for Python and ELK stack 6.5.1. I notice in the Transaction sample, some samples have spans, while some do not have. Is this by design?

Originally, does your all transaction have spans?
For me, some of transactions don't have spans because cache. (There is no db query actually.)

Yes. I use elasticapm.capture_span() to manually measure span. And we do not have such cache currently.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.