Commit a909986b authored by rpereira2's avatar rpereira2 Committed by syasonik

Return metric_ids from metrics_with_alerts

parent 4ca8fc6e
...@@ -24,7 +24,7 @@ module EE ...@@ -24,7 +24,7 @@ module EE
.new(project: project, environment: environment) .new(project: project, environment: environment)
.execute .execute
Set.new(alerts.map(&:id)) Set.new(alerts.map(&:prometheus_metric_id))
end end
def alert_path(metric_id, project, environment) def alert_path(metric_id, project, environment)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment