v5.0.0
·
201 commits
to refs/heads/main
since this release
5.0.0 (2023-06-01)
⚠ BREAKING CHANGES
- dashboards: handle dynamic dashboards in SingleWidgetDashboardSegment (#373)
addToSummaryandaddToAlarmprops have been removed- To control dashboard visibility of this segment, please use
MonitoringDashboardsOverridePropsin calls toaddSegmentinstead. - No action is required if you were not providing these props
- To control dashboard visibility of this segment, please use
dashboardsToIncludeprop has been added- If you would like to use
SingleWidgetDashboardSegmentwith dynamic dashboards, provide the list of dashboards on which this segment should show.
- If you would like to use
Before:
// Adds single widget to detail dashboard only
facade.addSegment(
new SingleWidgetDashboardSegment(new TextWidget({ markdown: "Simple Dashboard Segment" }), false, false)
);After:
// Adds single widget to detail dashboard only
facade.addSegment(
new SingleWidgetDashboardSegment(new TextWidget({ markdown: "Simple Dashboard Segment" })),
{
addToSummaryDashboard: false,
addToAlarmDashboard: false,
addToDetailDashboard: true,
}
);