PHP instance-level database information

Beginning in version 6.8, New Relic's PHP agent reports database name and database server/identifier attributes on slow query traces and transaction traces for some database drivers. This page lists the specific driver and agent version combinations needed to see instance-level information.

Versions

Database Extension Minimum agent version
MongoDB mongodb 7.1
MySQL mysql 6.8
MySQL mysqli 6.8
MySQL pdo_mysql 6.8
PostgreSQL pgsql 6.9
PostgreSQL pdo_pgsql 6.9
Redis predis 7.1
Redis redis 7.1

Request instance-level information for additional datastores at support.newrelic.com.

For more help

Join the discussion about PHP in the New Relic Online Technical Community! The Technical Community is a public platform to discuss and troubleshoot your New Relic toolset.

If you need additional help, get support at support.newrelic.com.