Skip to content

Displays basic alerts list view

Olena Horal-Koretska requested to merge 213880-Basic-alert-list-view into master

What does this MR do?

Displays basic alerts list view

🇺🇦 Alerts section is behind feature flag: make sure to run Feature.enable(:alert_management_minimal) in rails console

When enabled, navigate to "Your project" => Operations => Alerts

To generate sample alerts data you can run

Project.all.each do |project|
  (1..5).each do |i|
    AlertManagement::Alert.create!(started_at: i.hours.ago, title: "Alert #{i}", severity: AlertManagement::Alert.severities.keys.sample, hosts: ['192.168.1.1'], monitoring_tool: 'Grafana', service: 'gitlab', project: project)
  end
end

It will add alerts to each of your projects

Screenshots

Screen_Shot_2020-04-29_at_12.56.26

Additional spacing between events and status column

Screen_Shot_2020-04-29_at_21.12.49

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

Related to #213880 (closed)

Edited by Rémy Coutable

Merge request reports