Welcome to mirror list, hosted at ThFree Co, Russian Federation.

process_prometheus_alert_worker.rb « incident_management « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4b778f6a6212637212d90c154865ae9ff89d7cc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# frozen_string_literal: true

module IncidentManagement
  class ProcessPrometheusAlertWorker # rubocop:disable Scalability/IdempotentWorker
    include ApplicationWorker

    queue_namespace :incident_management
    feature_category :incident_management
    worker_resource_boundary :cpu

    def perform(project_id, alert_hash)
      # no-op
      #
      # This worker is not scheduled anymore since
      # https://gitlab.com/gitlab-org/gitlab/-/merge_requests/35943
      # and will be removed completely via
      # https://gitlab.com/gitlab-org/gitlab/-/issues/227146
      # in 14.0.
    end
  end
end