Skip to content

Resolve "Metric images tab missing from alert detail view"

What does this MR do and why?

Describe in detail what your merge request does and why.

Fixes bug causing metrics tab to be unreachable.

This MR was created whilst live streaming publicly you YouTube here

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Alert Details tab view Screenshot_2022-12-12_at_16.38.33 Screenshot_2022-12-12_at_16.37.52
Metrics tab view N/A Screenshot_2022-12-12_at_16.38.04

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Navigate to the alert management page and view an alert.
  2. Regard the tabs underneath the alert title.

To create an Alert:

  1. Ensure you are running enterprise edition
  2. Go to a project's settings, then Monitor
  3. Expand Alerts
  4. Add a new integration, HTTP endpoint is fine, give a mock name, in customise alert you can paste { "events": [{ "application": "Name of application" }] }
  5. Click "save and create test alert
  6. Navigate to Monitor -> Alerts
  7. Open the new test alert

(If the test alert isn't there, you can navigate back to integration settings, open the settings for the new integration, go to the tab called "send test alert" and paste this { "events": [{ "application": "Name of application" }] } and send)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #384558 (closed)

Edited by James Rushford

Merge request reports