code monitoring: basic logs UI
Created by: limitedmage
Part of #27168 (closed)
- Add experimental feature flag
showCodeMonitoringLogs
. - Created basic logs UI that queries for all necessary events and displays the list of monitors. This UI is not yet complete and will continue to be improved. For now, expanding the row shows the query. Error state and timestamp of the latest event are shown.
- Added a new "Logs" tab to the code monitoring homepage that will display the logs UI. This tab is only visible if
showCodeMonitoringLogs
is enabled. - Modified GraphQL API for code monitoring events so that:
- Events are returned in reverse chronological order instead of chronological order
- Events without search results are also returned
Test plan
- Storybook tests have been added as part of this PR
- Manual end-to-end testing has been done