Use case: Investigate Redis performance issues using Database Query Performance 🔗
Skyler, the lead site reliability engineer at Buttercup Games, has to troubleshoot high latencies reported by customers in the new advertisement service, which uses a Redis database.
Check the Redis infrastructure 🔗
Skyler starts by checking the Redis infrastructure in Splunk Infrastructure Monitoring. They notice that the commands processing rate has drastically dropped, and that the total number of commands processed by the server diminished.
This might mean that one or more commands are causing the latency issues. To further investigate this, Skyler selects the Related Content tile at the bottom of the screen to jump to Splunk APM.
Jump to the service in Splunk APM 🔗
The service map of Splunk APM appears. Skyler is able to immediately select the Redis database and see at a glance which commands are the slowest. The latency and request & errors charts provide a view of the performance trend.
Skyler selects Database Query Performance to get to the root of the issue.
Examine the latency of Redis commands 🔗
After opening Database Query Performance from the service map, Skyler sees the list of Redis commands, sorted by total time. For each command, they can see the requests and latency, as well as tag spotlight data.
Skyler knows that commands operating on many elements, like SORT, LREM, and SUNION can be slow. They identify a command with a problematic latency, and click on the latency chart to load example traces.
Skyler click on the example trace to find out more about the latency of that particular span.
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 enable Database Query Performance, see Enable Database Query Performance.
To learn more about Related Content, see Related Content in Splunk Observability Cloud.
To troubleshoot issues with Database Query Performance, see Troubleshoot Database Query Performance.
For reference material about Database Query Performance, see Reference for Database Query Performance.