Skip to content

Add ability to open log explorer from metrics chart dropdown button

Problem to solve

When conducting triage flow oftentimes users need to navigate from metrics into logs, there is no ability to quickly navigate from metrics to logs while preserving the same context

Further details

We would like to provide direct navigation from metrics chart into logs while preserving the same context, for this we would need to pass parameters such as: timestamp, environments and pod name (where possible)

Proposal

As an MVC, we should allow the user to navigate to logs based on the selected timeframe via the chart dropdown menu (View logs menu item). By default, the user will be taken to whatever timeframe is selected in the dashboard timeframe picker (which also coincides with the default range in charts). If the chart is zoomed in and the user views logs for the that chart, they'll be taken to the selected, zoomed in range for that chart.

The user should be able to scroll through the logs.

Technical Requirements

  • Logs page should have custom date selection enabled #197879 (closed)
  • We may decide on settling to ensure the 2 areas of the application integrate well #196986 (closed)

Links / references

Edited by Clement Ho