Reference for Database Query Performance
Reference material for using Database Query Performance in Splunk APM.
Supported databases
Database Query Performance provides insights for the following database software:
Amazon Redshift
Db2
Google Cloud Spanner
MariaDB
Microsoft SQL Server
MySQL
OceanBase
Oracle
PostgreSQL
Presto
Redis
Database Query Performance works with all versions supported by the instrumented applications.
Database-related span tags
Database Query Performance indexes the following span tags. These attributes are aligned to the most recent OpenTelemetry semantic conventions. Starting with OpenTelemetry version 1.33.0, database system conventions were standardized, and Splunk APM automatically maps any outdated semantic conventions in your instrumentation library to the latest conventions, ensuring data consistency. For example, db.name will automatically map to db.namespace in Splunk APM.
For more information, see Semantic conventions for database calls and systems in the OpenTelemetry GitHub repo.
SQL databases
Key | Type | Description |
---|---|---|
Normalized db.statement ( | string | The database statement, with dynamic elements replaced with placeholders to reduce cardinality |
| string | Name of the database |
| string | Type of database Note: This span tag has been removed. |
| string | Operation in the database |
| string | Table in the database (SQL only) |
| string | System of the database |
Redis
Key | Type | Description |
---|---|---|
Database operation ( | string | Operation in the database, derived from |
| string | System of the database |
Learn more
See the following links for more information about Database Query Performance:
For an overview of Database Query Performance, see Monitor Database Query Performance.
To turn on Database Query Performance, see Turn on Database Query Performance.
For a scenario focusing on MySQL and SQL troubleshooting, see Scenario: Jax identifies slow database queries using Database Query Performance.
For a scenario focusing on Redis and NoSQL troubleshooting, see Scenario: Skyler investigates Redis performance issues using Database Query Performance.
To troubleshoot issues with Database Query Performance, see Troubleshoot Database Query Performance.