Query Logs support in Last9

Feature

TL;DR

Last9 now supports showing Query Logs for optimizing slow PromQL queries and inspection of how queries are performing

Query Logs support in Last9

We wrote this post when our metrics product was called Levitate, a name we used until the end of 2024. Last9 now supports metrics, logs, traces, and profiles, so we use one name: Last9.

Debugging is an engineer’s birthright, and logs are her best friend. But how do you determine how your PromQL queries are performing with Last9?

One way is to figure it out by exploring with Grafana, but that’s not the ideal way, as there is no central place to find out and debug slow queries, optimize, and understand which ones are working great.

With the Query Logs feature in this release, you can find out how the queries are performing and take necessary actions. You can inspect all the queries for each Last9 cluster with the newly released Query Logs feature.

Just go to the cluster and visit the “Query Logs” tab.

Query Logs for a Last9 Cluster
Query Logs for a Last9 Cluster
PromQL Query Logs in Action
PromQL Query Logs in Action

Features

  • The last 24 hours of queries are displayed in reverse chronological order by default.
  • Jump between any hour by clicking the dot.
  • Along with the query, additional information is displayed, such as the step size, range, the time required to run it, and which tier and token were used to run the query.

Happy debugging and optimizing PromQL queries with Last9!