diff --git a/README.md b/README.md index bc3c8efc..3c198689 100644 --- a/README.md +++ b/README.md @@ -319,6 +319,13 @@ This is a general procedure on how to do it: Both of these monitoring base classes are dashboard segments, so you can add them to your monitoring by calling `.addSegment()` on the `MonitoringFacade`. +### Modifying or omitting widgets from default dashboard segments + +While the dashboard widgets defined in the library are meant to cover most use cases, they might not be what you're looking for. + +To modify the widgets, extend the appropriate `Monitoring` class (e.g., `LambdaFunctionMonitoring` for `monitorLambdaFunction`) and override the relevant methods (e.g., `widgets`). +You can then use the facade's `addSegment` method with your extended `Monitoring` class. + ### Custom dashboards If you want *even* more flexibility, you can take complete control over dashboard generation by leveraging dynamic dashboarding features. This allows you to create an arbitrary number of dashboards while configuring each of them separately. You can do this in three simple steps: