Why is the database statement (span.db.statement) sometimes displayed and sometimes not? Neither in the ‘Span details’ nor in custom dashboards. But when i discover the span, i see an _ignored-Tag and also the db.statement ... so i think it must be configurable, because the data is there.
It does not matter whether the span was slow or fast.
It would be more interesting to get the queries for the slow spans.
Can this be configured somewhere? How?
In the Data view APM
the field is included: