Skip to content

Multiple metrics edit navigates to prom edit page

Dhiraj Bodicherla requested to merge set-multiple-custom-metrics-edit-path into master

What does this MR do?

Edit metrics dropdown option navigates the user to the metrics page. If the chart has multiple metrics, the user is navigated to the first metric edit page. Instead, we should navigate to the prometheus/edit page which lists all the custom metrics.

Screenshots

Before After
edit_custom_metrics_before edit_custom_metrics_after

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Mentions #209835 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports