Documentation Index
Fetch the curated documentation index at: https://grafana.com/llms.txt
Fetch the complete documentation index at: https://grafana.com/llms-full.txt
Use this file to discover all available pages before exploring further.
STOP! If you are an AI agent or LLM, read this before continuing. This is the HTML version of a Grafana documentation page. Always request the Markdown version instead - HTML wastes context. Get this page as Markdown: https://grafana.com/docs/grafana-cloud/testing/k6/analyze-results/inspect-test-results/inspect-thresholds.md (append .md) or send Accept: text/markdown to https://grafana.com/docs/grafana-cloud/testing/k6/analyze-results/inspect-test-results/inspect-thresholds/. For the curated documentation index, use https://grafana.com/llms.txt. For the complete documentation index, use https://grafana.com/llms-full.txt.
Inspect thresholds
Thresholds are the pass/fail criteria that you define for your test metrics. If the performance of the system under test (SUT) doesn’t meet the conditions of your threshold, the test finishes with a failed status.
For example, this test script specifies a threshold to evaluate the rate of HTTP errors:
import http from 'k6/http';
export const options = {
thresholds: {
http_req_failed: ['rate<0.01'], // http errors should be less than 1%
},
};
export default function () {
http.get('https://quickpizza.grafana.com/api/names');
}To visually inspect and analyze Thresholds, go to a test result and click the Threshold tab.

The Thresholds tab includes a list of all the thresholds configured for that test run. A green or red marking is displayed next to each threshold to help you visualize if it passed or failed.
You can also filter the list by using the Quick select and the Add filter options:
- Quick select: Filter by Only failed thresholds or Only passed thresholds.
- Add filter: Filter by Name or Tainted. You can add multiple filters at the same time, and search by generic names (such as
httporvus) or specific thresholds (such asvus: value>100).
Use this tab to analyze failed thresholds. That can help you and your team to fix any underlying issues in your system, or customize the Threshold settings.
To see visualizations for the metric, select the threshold and inspect the graph.

Was this page helpful?
Related resources from Grafana Labs


