For the complete documentation index, see llms.txt. This page is also available as Markdown.

Dashboards

Use out-of-the-box dashboards and build your own custom dashboards in the Harness Resilience Testing module

The Resilience Testing (RT) module provides dashboards that visualize key metrics from your chaos testing operations. You access them under the Dashboards section of the Insights left navigation.

The module ships with out-of-the-box (OOTB) dashboards for a high-level view of chaos testing across an account, and you can also build your own custom dashboards from Harness Unified Data Platform (UDP) queries.

The Dashboards item under the Insights section of the Resilience Testing left navigation
Click to view full size

The Dashboards item under Insights in the Resilience Testing module.

Selecting Dashboards opens the dashboards landing page.

The Dashboards landing page in the Resilience Testing module
Click to view full size

Out-of-the-box dashboards

The OOTB dashboards fall under three categories:

  • Experiment Activity

  • Experiment Outcomes & Scores

  • Authoring & People

The following dashboards ship out of the box:

Dashboard
Category
Key widgets

Chaos Experiments by Target

Experiment Activity

Total Chaos Experiment Runs, Experiment Runs by Status, Faults created per Infrastructure, Experiments created per Infrastructure, Chaos Experiment Runs (Daily/Weekly), Experiment Runs per Chaos Experiment, Average & Median Resilience score, Chaos Experiment Runs (Project/Org)

Chaos Experiment Outcomes Summary

Experiment Activity

Total Chaos Experiment Runs, Chaos Experiment Outcome Distribution, Weekly Chaos Experiment Run Trend, Chaos Experiment Run Outcomes (Project/Org/Infrastructure)

Resilience Score Trend (per Chaos Experiment)

Experiment Outcomes & Scores

Chaos Experiment Run trend, Latest Run (Per Experiment), Chaos Experiment Pass Rate, Experiment Resilience score variance

Top Repeat-Failing Experiments

Experiment Outcomes & Scores

Repeat-failing experiments, Repeat failing experiments (User)

Chaos Experiment Creation Trend by User

Authoring & People

Chaos Experiments created by users, Experiment creation per user (weekly), Chaos experiment creation (new users), Chaos Experiment Runs Creation (User)

Top Contributors & Hub Authors

Authoring & People

Top Actions Contributors, Top Probe contributors, Top Hub contributors, Top Probe creation by Probe type

The following is an example OOTB dashboard:

An example out-of-the-box dashboard showing chaos experiment metrics
Click to view full size

Create a custom dashboard

You can create your own dashboards to visualize the metrics that matter to your team. Complete the following steps.

  1. Select the nine-dot icon at the top of the left navigation bar.

The nine-dot icon at the top of the left navigation bar
Click to view full size
  1. At the bottom of the navigation bar, select Dashboards.

The Dashboards item at the bottom of the navigation bar
Click to view full size

SWITCH TO THE NEW EXPERIENCE

If you see a prompt to switch experiences, use the dropdown and select Switch to new experience.

Click to view full size

You now see the dashboards home.

The dashboards home screen
Click to view full size
  1. Select + Create Dashboard. A right-side drawer opens.

The Create Dashboard drawer
Click to view full size
  1. Enter a name and description. Add two mandatory tags so the RT module can identify and classify the dashboard:

    • Chaos

    • <Category>, where the category is one of Experiment Activity, Experiment Outcomes & Scores, or Authoring & People.

The dashboard tags, showing the mandatory Chaos tag and a category tag
Click to view full size
  1. Select Submit. You land on the new, empty dashboard.

The new empty dashboard after submit
Click to view full size
  1. Select + Add Widget to start adding widgets (individual tables or graphs).

The Add Widget button on the dashboard
Click to view full size
  1. Select Data Widget.

The Data Widget option
Click to view full size
  1. Toggle Code View.

The Code View toggle on the widget editor
Click to view full size
  1. Enter a name and description for the widget, then write your query in the Query text area. Go to Dashboard query schema to review the available event and entity types.

The widget name, description, and Query text area
Click to view full size
  1. Select Run Query to fetch data from Harness UDP.

The Run Query result showing fetched data
Click to view full size
  1. Choose a visualization. The available visualizations are:

    • Table View

    • Metric Card

    • Donut Chart

    • Bar Chart

    • Column Chart

    • Line Chart

    • Area Chart

    • Scatter Chart

    This example uses a Donut Chart.

A Donut Chart visualization of the query results
Click to view full size
  1. Select Add Widget at the top right to save the widget.

The Add Widget button at the top right of the widget editor
Click to view full size
  1. The dashboard shows the widget you added. Add any remaining widgets, then select Save at the top right.

The dashboard showing the newly added widget with the Save button
Click to view full size
  1. Return to the RT module from the left navigation bar.

The left navigation bar option to return to the Resilience Testing module
Click to view full size
  1. In the RT module, go back to the Dashboards page under Insights.

The Dashboards page under Insights in the RT module
Click to view full size

Your custom dashboard now appears in the Dashboards section, filtered under the category you tagged it with, and you can open it to see the widgets you created.

The custom Test Dashboard visible in the Dashboards section under its tagged category
Click to view full size

RBAC considerations

Dashboards fall under the Shared Resources category, with View and Manage permissions:

  • View: Required to see the RT module in-product dashboards.

  • Manage: Required to create your own dashboards.

The Shared Resources dashboard permissions, showing View and Manage
Click to view full size

Go to RBAC in Harness to configure roles and permissions.


Dashboard query schema

Custom dashboard widgets query Harness UDP using event and entity types. The following reference lists the available types and example queries.

Event types

Chaos Experiment Runs (chaos:experiment_run_event)

Entity types

Chaos Action (chaos:action)

Chaos Action Template (chaos:action_template)

Chaos Execution Node (chaos:execution_node)

Chaos Experiment (chaos:experiment)

Chaos Experiment Run (chaos:experiment_run)

Chaos Experiment Template (chaos:experiment_template)

Chaos Fault (chaos:fault)

Chaos Fault Template (chaos:fault_template)

Chaos Hub (chaos:hub)

Chaos K8s Infrastructure V2 (chaos:k8s_infrastructure_v2)

Chaos Linux Infrastructure (chaos:linux_infrastructure)

Chaos Probe (chaos:probe)

Chaos Probe Template (chaos:probe_template)


Last updated

Was this helpful?