Skip to content

Automatically include metrics embed for gitlab alerts

Sarah Yasonik requested to merge sy-auto-embed-alert into master

What does this MR do?

When gitlab receives a firing alert, an incident issue is created. The issue description contains details of the alert. This MR adds an empty link to the metrics for the alert to the description, such that the metrics will render as an embed in the issue (without displaying the embed url in the rendered issue). The embed time range should be for the hour surrounding the incident.

#119016 (closed)

Screenshots

Screen_Shot_2020-02-20_at_3.44.44_PM

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
Edited by Sarah Yasonik

Merge request reports