Plugins 〉k6 Cloud


Developer

k6 Team

Sign up to receive occasional product news and updates:


Grafana Cloud
Grafana Cloud
  • Grafana, of course
  • 10k series Prometheus metrics
  • 50 GB logs
  • 50 GB traces
  • 2,232 app o11y host hours
  • ...and more
Create free account

No credit card needed, ever.


The k6 Cloud plugin has been deprecated and is no longer maintained.

Data Source
grafana

k6 Cloud

  • Overview
  • Installation
  • Change log
  • Related content

Deprecation Notice

⚠️ This plugin is deprecated and will be no longer maintained in favor of k6 Cloud App ⚠️

k6 Cloud Grafana Data Source Plugin

CircleCI Marketplace Downloads License Known Vulnerabilities Maintainability Test Coverage

This Grafana data source plugin allows you to view your tests results stored in k6 Cloud in Grafana.

k6 Cloud Test Run Result Dashboard

Installation

This plugin requires Grafana 7.1.0 or newer as of version 0.1.0.

Grafana Cloud

If you do not have a Grafana Cloud account, you can sign up for one here.

  1. Click on the Install Now button 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.

  2. 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.

Sample Dashboard

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.

Contributing and local development

Instructions for building the plugin from source can be found at Contributing.

Learn more

Installing k6 Cloud on Grafana Cloud:

For more information, visit the docs on plugin installation.

Installing on a local Grafana:

For local instances, plugins are installed and updated via a simple CLI command. Plugins are not updated automatically, however you will be notified when updates are available right within your Grafana.

1. Install the Data Source

Use the grafana-cli tool to install k6 Cloud from the commandline:

grafana-cli plugins install 

The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins. More information on the cli tool.

2. 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 data source will be available for selection in the Type select box.

To see a list of installed data sources, click the Plugins item in the main menu. Both core data sources and installed data sources will appear.

Change Log

0.1.2 (2021-09-13)

Full changelog

Bug fixes

  • Fix for data source variable in the default dashboards that are included with the plugin.

0.1.1 (2021-07-23)

Full changelog

Bug fixes

  • Fixes readme links

0.1.0 (2021-07-23)

  • Initial signed release
  • plugin id changed to "grafana-k6cloud-datasource"