Menu
Grafana Cloud

Query types

The k6 data source has the following query types, each with its own unique panel.

Metrics

k6 Metrics to measure SUT performance, measured as rates, counters, gauges, or trends.

The panel is a line chart for the value of the metric over the test run.

URLs

Metrics for a specific URL that was requested in the test script

A screenshot of the k6 http panel
The panel is a line chart for the value of the metric for a URL over the test run
Checks

The success rate of the checks in the test

A screenshot of the k6 http panel
The panel is a time-series bar chart. Each bar has two parts, one to indicate passed checks and another to indicate failures. The total length of the bar indicates the total number of checks that happened around a certain timestamp.
Thresholds

Comparison of defined threshold value against the metric values emitted during the test run

A screenshot of the k6 threshold panel
The panel is a time series with lines. One line indicates the threshold value, and another indicates the values for the metric over the test run. If the threshold is never crossed, the value for the metric always stays above or below the threshold line.