Menu
Grafana Cloud

Configure Cloud Insights

Note

Cloud Insights is currently in public preview. Grafana Labs offers limited support, and breaking changes might occur prior to the feature being made generally available.

You can enable this feature by clicking on Testing & synthetics > Performance in your Grafana Cloud account and typing ↑, ↑, ↓, ↓, ←, →, ←, →, B, A on your keyboard, and selecting Cloud Insights in the Beta Features dialog box. If you need additional help, contact Support.

Cloud Insights intelligently selects audits relevant to each Grafana Cloud k6 test run. However, depending on your use case, you can customize this behavior by turning specific audits on or off.

Note

This feature only works for tests executed in the cloud. It doesn’t work for local test executions with results streamed to the cloud.

Enable or disable specific audits

You can disable one or more audits from showing up when executing tests by using the cloud.insights property in the options object:

JavaScript
export const options = {
  cloud: {
    insights: {
      disabled: ['http-failure-rate', 'third-party-content'],
    },
  },
};

When you provide the disabled array, Grafana Cloud k6 skips executing the listed audits.

You can also provide a list of enabled audits, which excludes all other audits from the analysis:

JavaScript
export const options = {
  cloud: {
    insights: {
      enabled: ['http-spans-failure-rate'],
    },
  },
};

Refer to Cloud Insights reference for a list of audits and their values.

Enable or disable sets of audits

You can enable or disable multiple audits by their category or group using the enabledSets or disabledSets array in the insights object:

JavaScript
export const options = {
  cloud: {
    insights: {
      enabledSets: ['reliability'],
    },
  },
};

And using disabledSets:

JavaScript
export const options = {
  cloud: {
    insights: {
      disabledSets: ['best-practice', 'system'],
    },
  },
};

Refer to Cloud Insights reference for a list of audits and their categories or groups.