Admin Logs UI: Load each log tab asynchronously

Problem to solve

We now load up to 8 logs (x2000 lines) all at once for the Admin > Monitoring > Logs view. This might not be great for performance. so we should switch to loading each log asynchronously when the user clicks on each log (tab).

Intended users

Admin users

Further details

This arose during the discussion to add a new log tab in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28685

Proposal

Only load logs when user clicks on a log tab

Permissions and Security

Only for admin users

Documentation

The only related docs currently are https://docs.gitlab.com/ee/administration/logs.html

Testing

What does success look like, and how can we measure that?

Performance of rendering the initial Admin > Monitoring > Logs view improves

Links / references

Edited by Thong Kuah