Creating dashboards
Creating custom dashboards using various widgets and filters.
This feature is available in the Enterprise plan.
There are two ways to create a custom dashboard: duplicate an existing dashboard or create one from scratch.
Duplicating an existing dashboard
You can duplicate an existing dashboard and use it as a starting point. Sometimes, this is the fastest way to get started.

Retrieve your project. See Retrieving projects for more information.
Go to Dashboards. The Dashboards page opens and lists all available dashboards.
Click the action menu next to the existing dashboard and select Duplicate. You can only duplicate custom dashboards.
In the Duplicate dashboard modal, enter the dashboard name and description, then click Create duplicate. The new dashboard appears on the Dashboards page.
Click the action menu next to the duplicated dashboard and select Edit dashboard to customize it.
Creating a custom dashboard from scratch

To create a custom dashboard from scratch:
Retrieve your project. See Retrieving projects for more information.
Go to Dashboards.
Click the Create custom dashboard button in the top-right corner.
In the Create custom dashboard modal, enter the dashboard name and description, then click Create. The new dashboard appears on the Dashboards page.
Click the action menu next to the new dashboard and select Edit dashboard to customize it.
In edit mode, you can use the following options at the top of the page:

Add widget: Opens a modal where you can configure the widget. See Adding a widget for details.
Add section: Sections group a set of widgets together and are collapsible. See Adding a section for details.
Cancel and exit: Exits edit mode without saving changes.
Save changes: Saves your changes.
Adding a widget
In the dashboard’s edit mode, click Add widget to open a modal. In the Add new widget modal, follow these steps:

Step 1: Define your widget
Visualization: Choose the visualization that represents the data. The options are Count, Badge, Line chart, Donut chart, Pie chart, and Top list. See Viewing dashboards for more information about the chart options.
Metric: Choose the metric you want to visualize. The metric drop-down list is filtered by the metrics available for the visualization you selected. See Metrics for a list of available metrics and associated visualizations.
Slice by: This option appears only for pie and donut charts. Available options depend on the metric you have chosen.
Step 2: Apply filters
Depending on the metric you have selected in the previous step, appropriate filters are displayed. Feel free to explore the filters and combine them with various metrics to find the desired results.
Scope: For the count, rating badge, pie, and donut chart visualizations, you can choose between Overall code or New code. For the line chart, Overall code is the only option and is applied by default.
Time range: This option appears only for the line chart because it is a time-based chart. The options are: All, Last 3 months, and Last month.
Additional filters appear that are relevant to the visualization and metric you selected in the previous step.
Step 3: Customize visualization
Show legend: Select this option to display a legend for a visualization. This applies to line, donut, and pie charts.
Show trend indicator: Available only for the count visualization.
Once you are done configuring the widget:
Click Add to dashboard at the bottom of the modal.
Click Save changes at the top of the dashboard page, if you are done editing.
Adding a section
Sections help you organize and group your widgets on a dashboard.
To create a section:
Enter edit mode and click Add section to open a modal.
Enter the section name and description in the modal.
Click Create section to add it to the dashboard.

Once the section appears on the dashboard, you can move it by clicking the handle in the upper-left corner and dragging it to another location.
Click Add widget to add a new widget directly from within the section.
Click the action menu located in the upper right corner of the section to edit or delete the section.
Collapse or Expand the section to change its visibility. This feature works even after you save the changes and exit edit mode.
Click Save changes at the top of the page when you are done.
Metrics
The following table shows a list of metrics and associated visualizations.
Issues
Security
Reliability
Maintainability
Coverage
Duplications
Size
Related pages
Last updated
Was this helpful?

