Query Lambdas Monitoring And Errors

This page covers the metrics tracked by Rockset for performance monitoring and errors with Query Lambdas.

Last Execution Metrics

Metrics on the last execution of a Query Lambda can be accessed by requesting them through the Rockset API and reading the stats value found in the API response, or by navigating to the Query Lambdas tab of the Rockset Console and then selecting your Query Lambda.

Information is available for the following metrics:

  • Last Executed denoting the timestamp of the last execution
  • Last Executed By denoting the email of the user associated with the last execution
  • Last Execution Error denoting the timestamp of the error surfaced by the last execution (if applicable)
  • Last Execution Error Message containing the error message associated with error surfaced by the last execution (if applicable)

Aggregated Metrics

Usage charts showing aggregated metrics for individual Query Lambdas can be found by navigating to the Query Lambdas tab of the Rockset Console and then selecting your Query Lambda.

Query Lambda Usage Charts

From there, interactive graphs are available for the following metrics:

  • Total Query Count denoting the total # of times the Query Lambda was executed (via its REST endpoint) over a specified time period
  • Total Errors denoting the total # of errors the Query Lambda surfaced over a specified time period
  • Mean Latency of all executions of the Query Lambda over a specified time period