Open canny[bot] opened 4 days ago
This issue has been linked to a Canny post: Notifications in Broker UI :tada:
Matt Fellows - November 11, 2021
Interesting idea. I tend to think API/Integration first, so being able to store the info and query it via API would be necessary. Potentially, connecting it to the webhooks so that you can be notified of problems would be more useful (e.g. you could send yourself a slack notification if the cleanup died)
Dmitry Munda - November 11, 2021
also this could help a bit in investigation why something not working, without need to go and dig logs ( what could be not allowed/accessible for some users )
Dmitry Munda - November 11, 2021
also some "clean broker" api button or some other buttons/handles/APIs could be added there ( when such will be available ) (just random ideas :) )
Dmitry Munda - November 11, 2021
webhook is another point of failure, but this could be as an extra combo for having some red flag in broker UI.
Some bad things could happen behind the scenes like daily cleanup wasn't done due to query timeout. Could be nice to have some notification/icon/toast for such cases. Maybe this could be shown for admin users only, to not be spammed from other users of the broker. The initial conversation started here https://pact-foundation.slack.com/archives/C9VPNUJR2/p1636444406155600 this also could be some health-report page with some DB data, thresholds, and something more
https://pact.canny.io/admin/board/feature-requests/p/notifications-in-broker-ui