You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(docs): document how to override segment widgets [skip ci] (#455)
Realized this was never explicitly explained in the public docs.
---
_By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license_
Copy file name to clipboardExpand all lines: README.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -318,6 +318,31 @@ This is a general procedure on how to do it:
318
318
319
319
Both of these monitoring base classes are dashboard segments, so you can add them to your monitoring by calling `.addSegment()` on the `MonitoringFacade`.
320
320
321
+
### Modifying or omitting widgets from default dashboard segments
322
+
323
+
While the dashboard widgets defined in the library are meant to cover most use cases, they might not be what you're looking for.
324
+
325
+
To modify the widgets:
326
+
327
+
1. Extend the appropriate `Monitoring` class (e.g., `LambdaFunctionMonitoring` for `monitorLambdaFunction`) and override the relevant methods (e.g., `widgets`):
0 commit comments