Overview of the available monitoring 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.
DashboardPanelCounter
.
Shows a value with supporting text or text alone. Perfect for dashboard titles.
DashboardPanelPlot
. Shows individual values as bar, line, scatter plot, or histogram.
PlotType.LINE
shows values over time from multiple Reports.PlotType.BAR
shows values over time from multiple Report.PlotType.SCATTER
shows values over time from multiple Reports.PlotType.HISTOGRAM
shows the frequency of individual values across Reports.DashboardPanelTestSuiteCounter
. Shows a counter of Tests with specified status.
DashboardPanelTestSuite
.
TestSuitePanelType.DETAILED
. Individual Test results are visibleTestSuitePanelType.AGGREGATE
. Only the total number of Tests by status is visible.DashboardPanelDistribution
. Shows a distribution of values over time.
barmode="stack"
: stacked bar chart shows absolute counts in a single bar.barmode="group"
: grouped bar chart shows absolute counts in separate bars.barmode="overlay"
: overlay bar chart shows overlaying absolute counts.barmode="relative"
: relative bar chart shows stacked relative frequency.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).create_tab
:
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.
Connect to the Project
Add a new Panel
add_panel
method and configure the Panel:values
to point a specific Metric result, or
test_filters
to select Tests.
Save
project.save()
. Go back to the web app to see the Dashboard. Refresh the page if needed.DashboardPanel
is a base class. These parameters apply to all Panel types.
Parameter | Example use | Description |
---|---|---|
title: str | title="My Panel" | Panel name visible at the header. |
filter: ReportFilter | filter=ReportFilter(metadata_values={}, tag_values=[]) | Filters define a subset of Reports from which to display the data. Tags or metadata values you list must be added when logging Reports. See docs. |
size: WidgetSize | size=WidgetSize.HALF , size=WidgetSize.FULL (default) | Sets the Panel size to half-width or full-sized. |
DashboardPanelCounter
shows a value count or works as a text-only Panel.
Parameter | Description |
---|---|
value: Optional[PanelValue] | Specifies the value to display. You must point to a named Metric and a specific result inside it ( value or share /count ). Check the Panel Value section below for details. If left empty, displays a text-only panel. |
text: Optional[str] | Supporting text to display. |
agg: CounterAgg | Data aggregation options: SUM : Calculates the value sum. LAST : Shows the last available value. NONE : Reserved for text panels. |
DashboardPanelPlot
shows individual values over time.
PlotType.LINE
shows values over time from multiple Reports.PlotType.BAR
shows values over time from multiple Report.Parameter | Description |
---|---|
values: List[PanelValue] | Specifies the value(s) to display in the Plot. You must point to a named Metric and a specific result inside it ( value or share /count ). Refer to the Panel Value section below for details. You can pass multiple values so that will appear together, e.g., as separate lines on a Line plot, bars on a Bar Chart, or points on a Scatter Plot. |
plot_type: PlotType | Specifies the plot type. Available: SCATTER , BAR , LINE , HISTOGRAM |
DashboardPanelDistribution
shows changes in the distribution over time. It’s mostly relevant for showing distributions of categorical columns.
barmode="stack"
: stacked bar chart shows absolute counts in a single bar.barmode="group"
: grouped bar chart shows absolute counts in separate bars.Parameter | Description |
---|---|
value: PanelValue | Specifies the distribution to display on the Panel. You must point to a named Metric that contains a distribution histogram and set field_path="counts" . |
barmode: HistBarMode | Specifies the distribution plot type. Available: stack , group , overlay , relative |
DashboardPanelTestSuiteCounter
shows a counter with Test results.
Parameter | Description |
---|---|
test_filters: List[TestFilter]=[] | Test filters select specific Test(s). Without a filter, the Panel considers the results of all Tests. |
statuses: List[statuses] Available: TestStatus.ERROR , TestStatus.FAIL , TestStatus.SUCCESS (default), TestStatus.WARNING , TestStatus.SKIPPED | Status filters select Tests with specific outcomes. (E.g., choose the FAIL status to display a counter for failed Tests). Without a filter, the Panel shows Tests SUCCESS. |
agg: CounterAgg Available: SUM (default), LAST | Data aggregation options:SUM : Calculates the sum of Test results. LAST : Displays the last available Test result. |
DashboardPanelTestSuite
shows Test results over time.
TestSuitePanelType.DETAILED
. Individual Test results are visibleTestSuitePanelType.AGGREGATE
. Only the total number of Tests by status is visible.Parameter | Description |
---|---|
test_filters: List[TestFilter] | Test filters select specific Test(s). Without a filter, the Panel shows the results of all Tests. |
statuses: List[statuses] Available: TestStatus.ERROR , TestStatus.FAIL , TestStatus.SUCCESS , TestStatus.WARNING , TestStatus.SKIPPED | Status filters select Tests with specific outcomes. By default the Panel shows all Test statuses. |
panel_type=TestSuitePanelType Available: TestSuitePanelType.DETAILED TestSuitePanelType.AGGREGATE | Defines the Panel type. Detailed shows individual Test results where you can hover and see individual results and click to open a corresponding Test Suite. Aggregate (default) shows the total number of Tests by status. |
time_agg: Optional[str] = None Available: 1H , 1D , 1W , 1M (see period aliases) | Groups all Test results in a period (e.g., 1 DAY). |
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.
field_path
. This helps point to a specific result inside the Metric. This can take the following values: value
, share
/count
or values
.
Field path | Description | Applicable Metrics | Applicable Panels |
---|---|---|---|
value | Points to a single result from the Metric. | Most Metrics | Counter, Plot |
share or count | Points to either absolute count or percentage value. | Metrics that return both absolute and percentage values like MissingValueCount | Counter, Plot |
shares or counts | Points to a histogram visualization within a Metric. | Metrics with histogram visualizations, like UniqueValueCount . | Distribution |