diff options
Diffstat (limited to 'lib/gitlab/prometheus/queries/matched_metric_query.rb')
-rw-r--r-- | lib/gitlab/prometheus/queries/matched_metric_query.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/prometheus/queries/matched_metric_query.rb b/lib/gitlab/prometheus/queries/matched_metric_query.rb index 32294756aa2..e4d44df3baf 100644 --- a/lib/gitlab/prometheus/queries/matched_metric_query.rb +++ b/lib/gitlab/prometheus/queries/matched_metric_query.rb @@ -43,7 +43,7 @@ module Gitlab series = metric_groups.flat_map(&:metrics).flat_map(&:required_metrics).uniq lookup = series.each_slice(MAX_QUERY_ITEMS).flat_map do |batched_series| - client_series(*batched_series, start: timeframe_start, stop: timeframe_end) + client_series(*batched_series, start_time: timeframe_start, end_time: timeframe_end) .select(&method(:has_matching_label?)) .map { |series_info| [series_info['__name__'], true] } end |