Grafana Cloud

Export test results

Your Grafana Cloud k6 test results provide a comprehensive overview of your application performance trends, which can help you detect patterns and uncover performance issues.

You can export your test results in two formats:

  • A PDF report
  • A CSV file

Export as PDF

You can customize and export a PDF of your test results to track and share your data with other team members. The PDF report serves as an executive summary of the test results’ most relevant metrics and performance data.

Performance Test Result - PDF Summary Report

Open the editor

To generate a PDF summary, follow these steps:

  1. Navigate to a specific test result.
  2. Click the three-dots icon in the top right corner to open the test results menu.
  3. Select Generate PDF summary.

This action opens the editor, where you can customize and download the summary.

Add or remove metrics

The editor comes equipped with a variety of predefined metrics that can be included or removed from your report.

To customize the data included in the report:

  1. Click the Add/Remove Metrics dropdown at the top of the editor.
  2. Select and deselect the available predefined metrics as needed.

Adding or Removing Metrics - PDF Summary Report

Summarize the results

After you define which metrics to include in your report, you can edit and format the content included in your PDF summary report to fit your needs.

Edit text

Text Editing - PDF Summary Report

Each section of the PDF summary contains text from a predefined template.

To modify this text, follow these steps:

  1. Click on the edit icon or click the text directly.
  2. Input your desired changes.
  3. Click outside the text field to apply the modifications.

If you want to cancel and revert your changes, select the cancel icon next to the editor, or use the ESC key on your keyboard.

Format text

Text Editing - PDF Summary Report

To apply formatting to your text, select the relevant text and then choose the appropriate formatting options from the popup menu.

Additionally, you can use the following keyboard shortcuts for quick formatting:

Ctrl / ⌘ + BBold
Ctrl / ⌘ + IItalic
Ctrl / ⌘ + UUnderline

Generate the PDF report

After you have finished editing the summary, click Generate PDF at the top right of the editor. This opens a progress dialog. After a few moments, your browser will prompt you to download the PDF summary report.


Do not refresh or navigate away from the page while the PDF is being generated. The time it takes to generate depends on the amount of data that needs to be included. If your test contains a substantial amount of data, such as multiple load zones, the generation process may take longer.

Export as CSV

To export a test result as a CSV file:

  1. Select the test result you want to export.
  2. Click the three-dots icon in the top-right, and select Export data.
    1. If you have already exported the data from a test result, you’ll see a Download export data option instead.
  3. Click Confirm in the dialog box.

Depending on your test result, the CSV export might take some time. You can:

  • Wait for the dialog box to update, and click Download once the report is ready, or;
  • Close the tab and download the report when it’s ready by going to the test result page, clicking the three-dots icon in the top right, and selecting Download export data.

The exported data you can download is a ZIP file that contains a number of CSV files.

Each metric, such as VUs and HTTP requests, has its own separate file. The export also contains a metrics.csv file with the list of exported metrics.

A typical k6 HTTP test includes the following files:

File nameMetricColumns
metrics.csvIndex of exported metricsmetric,type,origin
metric_load_generator_ cpu_percent.csvload_generator_cpu_percenttime,metric,scenario,group,load_zone,tags,count,min,mean,max,last
metric_load_generator_ file_handles.csvload_generator_file_handlestime,metric,scenario,group,load_zone,tags,count,min,mean,max,last
metric_load_generator_ memory_used_percent.csvload_generator_memory_used_percenttime,metric,scenario,group,load_zone,tags,count,min,mean,max,last
metric_myCustomCounter.csvUser-defined myCustomCounter Countertime,metric,scenario,group,load_zone,tags,count
metric_myCustomGauge.csvUser-defined myCustomGauge Gaugetime,metric,scenario,group,load_zone,tags,count,min,mean,max,last
metric_myCustomRate.csvUser-defined myCustomRate Ratetime,metric,scenario,group,load_zone,tags,nz_count,count
metric_myCustomTrend.csvUser-defined myCustomTrend Trendtime,metric,scenario,group,load_zone,tags,count,min,mean,median,p95,p99,max,stdev

The following table is a reference for the columns in the CSV data, with examples, data types, and descriptions.

ColumnExampleType (unit)Description
time2019-03-25 11:12:48.927949+00:00datetime (UTC)The ISO-8601 timestamp when this data point was captured (when the HTTP request was made).
metrichttp_req_durationstringThe metric name that this data point represents.
group“my group”stringThe group name group() from where this request was made.
scenariodefaultstringThe name of the scenario that this metric was collected in.
url URL requested.
methodGETstringThe HTTP method of the request that this data point represents.
status200numberThe HTTP response status code of the request that this data point represents.
count1.0numberNumber of samples that this data point represents (if > 1 response_time is an aggregate value).
load_zoneamazon:us:ashburnstringThe load zone where the requests were sent from.
tags{“staticAsset”:“true”}stringJSON formatted list of {"name": "value"} tags as specified for the request in the script.
min1.008016number (ms)The minimum response time for samples collected within the time bucket.
mean3.008016number (ms)The mean response time for samples collected within the time bucket.
median5.468016number (ms)The median response time for samples collected within the time bucket.
p9510.10816number (ms)The 95th percentile response time for samples collected within the time bucket.
p9914.08016number (ms)The 99th percentile response time for samples collected within the time bucket.
max15.08016number (ms)The maximum response time for samples collected within the time bucket.
stdev0.075112number (ms)The standard deviation time for samples collected within the time bucket.