No SQL Query information collected from PHP APM agent (WordPress CMS)

Kibana version: 7.13.0

Elasticsearch version: 7.13.0

APM Server version: 7.13.0

APM Agent language and version: PHP 1.5

Browser version: Chrome 100

Original install method (e.g. download page, yum, deb, from source, etc.) and version:

Fresh install or upgraded from other version? Fresh install

Is there anything special in your setup?
My current PHP APM configuration:

elastic_apm.server_url = "http://10.90.24.56:8200"
elastic_apm.secret_token = "REDACTED"
elastic_apm.service_name = "REDACTED"
elastic_apm.environment = "production"

Description of the problem including expected versus actual behavior. Please include screenshots (if relevant): Elastic APM agent should be able to collect SQL query made by the application and show it in Kibana, but I'm not sure whether PHP APM agent supports SQL query collection, SQL query simply does not show in each transaction of the PHP application.

Steps to reproduce:
Just follow the steps provided by the Elastic documentation: Set up the Agent | APM PHP Agent Reference [1.x] | Elastic

Errors in browser console (if relevant): No

Provide logs and/or server output (if relevant): No

Just noticed a GitHub Issues page did mention about this issue:

So this means WordPress is simply not supported due to the use of MySQLi extension in the application. Hopefully this PHP APM agent can consider supporting MySQLI extension in the future.

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