Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
This Grafana plugin allows you to view, run and visualized metrics for your k6 Cloud Tests in Grafana.
This plugin is currently in Beta release and changes may occur.
This plugin requires Grafana 8.0.0 or newer as of version 0.1.0.
If you do not have a Grafana Cloud account, you can sign up for one here.
Click on the
Install Nowbutton on the k6 Cloud Data Source page on Grafana.com. This will automatically add the plugin to your Grafana instance. It might take up to 30 seconds to install.
Login to your Hosted Grafana instance (go to your instances page in your profile):
https://grafana.com/orgs/<yourUserName>/instances/and the k6 Cloud data source will be installed.
Installing on a local Grafana instance
The plugin is installed using the Grafana CLI and instructions can be found on the installation page.
Restart your Grafana server after installing the plugin.
Configure the data source
Accessed from the Grafana main menu, newly installed data sources can be added immediately within the Data Sources section.
Next, click the Add data source button in the upper right. The k6 Cloud data source will be available for selection in the Type select box.
Copy your k6 Token and paste into the
API Token field. Click the
Save and Testbutton to check that your Token is valid and that you have a connection to the k6 Cloud.
There are two sample dashboards included with the data source and they can be imported from the Dashboards tab (beside the Settings tab) in the Data Source config.
They can also be found in the GitHub repository in the dashboards directory.