Docs » Monitor Database Query Performance » Enable Database Query Performance

Enable Database Query Performance 🔗

Database Query Performance is available by default, so all you need to do is enable the feature so that APM automatically begins indexing a set of database-related span tags. See Database-related span tags for the list of tags.

Note

Indexing Database Query Performance tags counts toward the MetricSet entitlement in your Splunk APM contract. See Limits on indexing span tags to learn more about cardinality in APM.

Follow these steps to enable Database Query Performance and begin indexing database tags:

  1. From the APM landing page, click APM Configuration and select MetricSets Configuration. The APM MetricSets Configuration page opens.

  2. In the Database Query Performance section, check that the Status is Active. If it is, skip to the next step. If it’s not, click Resume Indexing to initiate cardinality analysis, and then wait for the cardinality analysis to run in the Pending MetricSet section at the top of the table.

    This screenshot shows what you see when the cardinality analysis for indexing new span tags passes within entitlement.
    1. If the cardinality analysis passes within entitlement, as in the above screenshot, click the checkmark to accept the cardinality contribution and begin indexing database tags.

    2. If the cardinality contribution is above your entitlement, consider reviewing the cardinality contributions of your other indexed span tags to free up cardinality for Database Query Performance. To learn more about optimizing cardinality, see Limits on indexing span tags.

  3. Navigate to the APM landing page and click the Database Query Performance card to confirm databases are appearing in Database Query Performance. If they are not appearing as expected, see Troubleshoot Database Query Performance.

Learn more 🔗

See the following links for more information about Database Query Performance: