Skip to main content
This applies to versions 0.6.0 to 0.7.1 for Cloud/Workspace v1.

What is a monitoring Panel?

A monitoring Panel is an individual plot or counter on the Monitoring Dashboard. 
  • You can add multiple Panels and organize them by Tabs. You can customize Panel type, values shown, titles and legends.
  • When adding a Panel, you choose a Test or Metric with the specific value (“metric result”) inside it. Evidently pulls corresponding value(s) from all Reports in the Project and plots them on the Panel.
  • You can use Tags to filter data from specific Reports. For example, you can plot the accuracy of Model A and Model B next to each other. To achieve this, add relevant Tags to the Report.
How to add Panels. This page explains the Panel types. Check the next section on adding Panels.
Panel types. There are 3 main panel types:
  • Metric panels plot individual values from inside Reports.
  • Test panels show pass/fail Test outcomes in time.
  • Distribution panels plot distributions over time.

Metric Panels

Metric Panels (DashboardPanel) show individual values from inside the Reports in time. For example, if you capture Data Summary Reports (include mean, max, min, etc., for each column) or Data Drift Reports (include the share of drifting columns and per-column drift score), you can plot any of these values in time. Panel time resolution depends on Report frequency. For instance, if you log Data Drift Reports daily, you can plot the share of drifting features with daily granularity. You can also open the source Report to see feature distributions on a specific day.

Counter

Class DashboardPanelCounter. Shows a value with supporting text or text alone. Perfect for dashboard titles.

Plot

Class DashboardPanelPlot. Shows individual values as bar, line, scatter plot, or histogram.
panel_line_plot_example

Line chart

PlotType.LINE shows values over time from multiple Reports.
panel_bar_plot_example

Bar chart

PlotType.BAR shows values over time from multiple Report.
panel_scatter_plot_example

Scatter plot

PlotType.SCATTER shows values over time from multiple Reports.
panel_hist_example

Histogram

PlotType.HISTOGRAM shows the frequency of individual values across Reports.

Test Panels

Test Panels show the Test results. As you run the same Tests repeatedly, you can visualize the pass/fail outcomes or result counts. You choose which Test results to include. Test Panels only work with Test Suites: you must add Tests to the Metrics inside your Report to be able to render these panels.

Test counter

Class DashboardPanelTestSuiteCounter. Shows a counter of Tests with specified status.

Test plot

Class DashboardPanelTestSuite.
panel_tests_detailed_hover_example

Detailed plot

TestSuitePanelType.DETAILED. Individual Test results are visible
panel_tests_aggregated_hover_example

Aggregated plot

TestSuitePanelType.AGGREGATE. Only the total number of Tests by status is visible.

Distribution Panel

Class DashboardPanelDistribution. Shows a distribution of values over time. For example, if you capture Text Evals or Data Summary that include histograms for categorical values, you can plot how the frequency of categories changes.
panel_dist_stacked_2-min

Stacked

barmode="stack": stacked bar chart shows absolute counts in a single bar.
panel_dist_group_2-min

Grouped

barmode="group": grouped bar chart shows absolute counts in separate bars.
panel_dist_overlay-min

Overlay

barmode="overlay": overlay bar chart shows overlaying absolute counts.
panel_dist_relative-min

Relative

barmode="relative": relative bar chart shows stacked relative frequency.
What is the difference between a Distribution panel and a Histogram? A histogram plot (DashboardPanelPlot withPlotType.HISTOGRAM) shows the distribution of the selected values from all Reports. Each source Report contains a single value (e.g., a “mean value”). A Distribution Panel (DashboardPanelDistribution) shows how a distribution changes over time. Each source Report contains a histogram (e.g. frequency of different categories).

What’s next?

How to add monitoring Panels and Tabs.

title: ‘Add dashboard panels’ description: ‘How to design your Dashboard with custom Panels.’

This page shows how to add panels one by one. Check pre-built Tabs for a quick start, and explore available Panel types.

Adding Tabs

Multiple Tabs are available in the Evidently Cloud and Enterprise.
By default, new Panels appear on a single Dashboard. You can add multiple Tabs to organize them. User interface. Enter the “Edit” mode on the Dashboard (top right corner) and click the plus sign with “add Tab”. To create a custom Tab, choose an “empty” tab and give it a name. Python. You can add an empty tab using create_tab:
You can also use the add_panel method shown below and specify the destination Tab. If there is no Tab with a set name, you will create both a new Tab and Panel at once. If it already exists, a new Panel will appear below others in this Tab.

Adding Panels

You can add Panels in the user interface or using Python API.

User interface

No-code Dashboards are available in the Evidently Cloud and Enterprise.
Once you are inside the Project:
  • Enter the “Edit” mode by clicking on the top right corner of the Dashboard.
  • Click on the “Add panel” button.
  • Follow the flow to configure dashboard name, type, etc.
  • Preview and publish.
To delete/edit a Panel, enter Edit mode and hover over a specific Panel to choose an action.

Python API

Dashboards as code are available in Evidently OSS, Cloud, Enterprise.
You must first connect to Evidently Cloud (or your local workspace) and create a Project.
Import the necessary modules to configure the Panels as code:
Here is the general flow to add a new Panel:
1

Connect to the Project

Load the latest dashboard configuration into your Python environment.
2

Add a new Panel

Use the add_panel method and configure the Panel:
  • Pick the Panel type: Counter, Plot, Distribution, Test Counter, Test Plot.
  • Set applicable Panel parameters. (See below for each type).
  • Specify Panel title and size.
  • Add optional Tags to filter data. If empty, the Panel will use data from all Reports.
  • Define what the Panel will show (see examples below):
    • Use values to point a specific Metric result, or
    • Use test_filters to select Tests.
  • Set if the Panel should appear on specific Tab.
For example, to add a line plot that shows Row Count in time to the “Overview” tab:
You can add multiple Panels at once: they will appear in the listed order.
3

Save

Save the configuration with project.save(). Go back to the web app to see the Dashboard. Refresh the page if needed.
Delete Panels. To delete all monitoring Panels, use:
Note: This does not delete the Reports or data; it only deletes the Panel configuration.

Panel Parameters

General parameters

Class DashboardPanel is a base class. These parameters apply to all Panel types.

Counter

DashboardPanelCounter shows a value count or works as a text-only Panel.
Examples usage:
Text only panel. To create a Panel with the Dashboard title only:
All parameters:

Plot

DashboardPanelPlot shows individual values over time.
panel_line_plot_example

Line chart

PlotType.LINE shows values over time from multiple Reports.
panel_bar_plot_example

Bar chart

PlotType.BAR shows values over time from multiple Report.
Example usage:
Single value. To plot row count as a LINE plot (you can change to BAR etc.):
All parameters:

Distribution

DashboardPanelDistribution shows changes in the distribution over time. It’s mostly relevant for showing distributions of categorical columns.
panel_dist_stacked_2-min

Stacked

barmode="stack": stacked bar chart shows absolute counts in a single bar.
panel_dist_group_2-min

Grouped

barmode="group": grouped bar chart shows absolute counts in separate bars.
Example. To plot the distribution of the column “refusals” that contains binary labels:
All parameters:

Test Counter

DashboardPanelTestSuiteCounter shows a counter with Test results.
Example usage:
All Tests. To display the results of the latest Test Suite. Filter by LAST, no filter on Test name.
All parameters:

Test Plot

DashboardPanelTestSuite shows Test results over time.
panel_tests_detailed_hover_example

Detailed plot

TestSuitePanelType.DETAILED. Individual Test results are visible
panel_tests_aggregated_hover_example

Aggregated plot

TestSuitePanelType.AGGREGATE. Only the total number of Tests by status is visible.
Example usage:
All Tests. Show the results of all Tests in the Project with per-Test granularity.
All parameters:

Panel Value

Metric ID. To point to the Metric or Test to plot on a Panel, you use test_filters or metric_args as shown above and pass metric_id or metric_fingerprint . They must include the name of the Metric that was logged to the Project. You must use the same Metic name (with any applicable parameters) that you used when creating the Report.
Working with Presets. You must reference a named Evidently Metric even if you used a Preset. You can check the Metrics included in each Preset here.
Field path. For Metric Panels, you also specify the field_path. This helps point to a specific result inside the Metric. This can take the following values: value , share/count or values . There are a few exceptions where a Metric can return a different result or a dictionary.
How to verify the result of a specific Metric? Check in the All Metrics table. You can also generate the Report with a given Metric, export the Report as JSON and check the value name it returns.
When working in the Evidently Cloud, you can see available fields in the drop-down menu as you add a new Panel.