User should be able to drill into logs from an embedded chart in the incident issue
Problem
Currently, the primary chart that's embedded in an incident issue doesn't have an option to view logs. Drilling into logs directly from the chart is an essential part of helping our users retain context during incident triage.
Note that the other charts in the incident issue do have the "View logs" options, but those aren't the charts where the alert was firing.
Incident issue tested: https://gitlab.com/gitlab-org/monitor/tanuki-inc/-/issues/461
No "View logs" option |
---|
Proposal
Add the "View logs" link to the chart menu for embedded charts in incidents.
Technical Notes
The embed component requires the logs_path
to be present in the response to render a "View logs" menu item. However, in the same issue we have 2 dashboard endpoints that return different data:
The first embed in the alert issue is generated with a link that does not return the logs path, while others below do. This disc repancy should be resolved.