Plugins 〉k6 Cloud App

Application
grafana

k6 Cloud App

  • Overview
  • Installation
  • Change log
  • Related content

This Grafana plugin allows you to view, run and visualize metrics for your k6 Cloud Tests in Grafana.

Beta

This plugin is currently in Beta release and many changes are expected. Pay attention to new versions being released.

Installation

This plugin requires Grafana 8.0.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. Select the Install plugin button on the k6 plugin installation page. This will automatically add the plugin to your Grafana instance.
    Installation might take up to 30 seconds.

  2. Login to your Hosted Grafana instance (go to your instances page in your profile): https://grafana.com/orgs/<yourUserName>/instances/ and the k6 plugin should appear in the sidebar menu.

    sidebar-icon

  3. In order to use the plugin UI, the data source needs to be configured. Check out the section further down about configuring the data source.

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

Select Add from the plugin UI to add a data source and you will be taken to the data source configuration screen. This is what the configuration page looks like.

data-source-configuration

Here you will need to fill in your k6 Cloud API token, head over to your k6 cloud account and copy your API token. Paste the token into the API token field, select Save and Test to check that your Token is valid and that you have a connection to the k6 Cloud.

Feature requests and bug reports

If you encounter bugs or have feature requests, we highly encourage you to report that and leave feedback.
Head over to this repository and follow the instructions in the README.

Learn more

Installing k6 Cloud App on Grafana Cloud:

For more information, visit the docs on plugin installation.

Changelog

v0.3.1

  • [fix] Chart lines overflow range when test is started
  • [fix] Support variables in custom dashboards
  • [feat] Improve chart style

v0.3.0

  • [feat] Simplify setup process by creating datasource from plugin screen
  • [fix] Bug fixes and performance improvements

v0.2.0

  • [refactor] Remove unnecessary fetches & refactor
  • [refactor] Extract fetches into hooks
  • [fix] Fix copy to clipboard for http charts
  • [feat] Cache fetched data and revalidate in background
  • [feat] Add error handling and loading indicators
  • [feat] Add additional meta bar info

v0.1.2

  • [fix] include all metrics when copying HTTP chart

v0.1.0

Initial release.