Skip to content

Fetch annotations for monitoring dashboard

What does this MR do?

This MR fetches annotations data and passes it to the Area and line charts. Annotations fetch backend API isn't ready yet #211330 (closed) but this MR can't be delayed further if this has to be delivered for %12.10.

To make sure things don't break, the changes are behind metrics_dashboard_annotations feature flag.

Notes

  1. This MR is behind FF and does not change any UI elements.
  2. The failing rspecs are not related to this MR.

Why no UX review?

  1. The initial annotations feature that went into GitLab UI was already approved by UX gitlab-ui!1232 (merged) and this MR merely just passed on the annotations data to the GitLab UI charts.
  2. This MR doesn't change anything in the UI. The upcoming MR to lift the feature flag will one more additional UX approval before the feature goes in.

Is this the final MR?

  1. No. Also, you'll notice from the gif below that the annotation interaction is not convenient. I have a GitLab UI MR to make it more intuitive and convenient gitlab-ui!1288 (merged).
  2. There will be another to lift the feature flag.

Screenshots

header header
Screenshot Screen_Shot_2020-04-12_at_3.39.23_PM
Gif annotations

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 #211418 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports