Query types
The k6 data source includes the following query types.
Metrics
Metrics measure the System Under Test (SUT) performance, expressed as rates, counters, gauges, or trends.
The panel displays a line chart representing the metric’s values during the test run.
![A panel with a line chart showing the average HTTP response time of the selected test run](https://grafana.com/media/docs/k6/screenshot-grafana-k6-query-type-metrics.png)
Trace metrics
Telemetry tracing metrics captured during the test run.
![A panel with a line chart showing the span duration and exemplars captured during the test run](https://grafana.com/media/docs/k6/screenshot-grafana-k6-query-type-traces-metrics.png)
You can hover over an exemplar to delve deeper into a specific trace.
Tests
A list of tests within the selected project.
![A panel showing a table of tests in a project](https://grafana.com/media/docs/k6/screenshot-grafana-k6-query-type-tests.png)
Selecting the items in the Name column takes you to the test page, while selecting the items in the Last run column takes you to the latest test run results.
Test runs
A list of test runs.
![A panel showing a table of test runs for a test](https://grafana.com/media/docs/k6/screenshot-grafana-k6-query-type-test-runs.png)
Selecting the items in the Started column takes you to the test results page.
Checks
Displays the success rate of checks in the test.
![A panel showing a time-series bar chart, with two overlapping bars that show checks that have passed or failed. The chart also shows the number of VUs during the test run](https://grafana.com/media/docs/k6/results/screenshot-grafana-k6-checks-panel.png)
Thresholds
Compares the defined threshold value against the metric values emitted during the test run.
![A panel showing a time series with two lines, one that indicates the threshold value, and another that indicates the values for the metric during the test run](https://grafana.com/media/docs/k6/results/screenshot-grafana-k6-thresholds-panel.png)
HTTP, WebSockets, gRPC
Lists requests generated during the test runs in the selected protocol.
![A panel showing a table of requests made during the test run](https://grafana.com/media/docs/k6/screenshot-grafana-k6-query-type-http.png)
Logs
Lists logs generated during the test run.