No db statement shown for mongodb?

I've followed a blogpost on setting up the apm app. There I could see the database queries of the traces with the sql statement

Then I tried it by myself with a spring application and a mongodb. It seems like there is no db.statement in the span.db.statement.

2020-05-07 09_55_20-Window

Why is that? Could not find any documentation about difference in db.

Hi and thanks for the question.
We don't collect the query for MongoDB spans - it is documented here.

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