How to filter certain span in a transaction

I am using go agent for apm. In a (http request) transaction, when I integrate with apmsql to display the span of db, it displays in Kibana of both span.action=prepare and span.action=query.
Is there any way I can configure to filter exclude span.action=prepare in all the transactions?

@aladine sorry for the very late reply!

At the moment there is no way to filter out these spans in the agent. You could configure the server to use an ingest node pipeline to drop these kinds of span documents.

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