Class: AlertManagement::PrometheusAlertPresenter

Inherits:
AlertPresenter show all
Defined in:
app/presenters/alert_management/prometheus_alert_presenter.rb

Constant Summary

Constants inherited from AlertPresenter

AlertPresenter::MARKDOWN_LINE_BREAK

Instance Attribute Summary

Attributes included from Gitlab::View::Presenter::Base

#subject

Instance Method Summary collapse

Methods inherited from AlertPresenter

#details, #details_url, #initialize, #issue_description, #issue_summary_markdown, #start_time

Methods included from IncidentManagement::Settings

#auto_close_incident?, #incident_management_setting, #process_issues?

Methods included from Gitlab::Utils::StrongMemoize

#clear_memoization, #strong_memoize, #strong_memoized?

Methods inherited from Gitlab::View::Presenter::Delegated

#initialize

Methods included from Gitlab::View::Presenter::Base

#can?, #declarative_policy_delegate, #is_a?, #present, #url_builder, #web_path, #web_url

Methods included from Gitlab::Allowable

#can?

Methods included from Gitlab::Routing

add_helpers, includes_helpers, redirect_legacy_paths, url_helpers

Constructor Details

This class inherits a constructor from AlertManagement::AlertPresenter

Instance Method Details

#metrics_dashboard_urlObject


5
6
7
# File 'app/presenters/alert_management/prometheus_alert_presenter.rb', line 5

def metrics_dashboard_url
  alerting_alert.metrics_dashboard_url
end