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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/prometheus/additional_metrics_query_helper.rb')
-rw-r--r--spec/support/prometheus/additional_metrics_query_helper.rb31
1 files changed, 0 insertions, 31 deletions
diff --git a/spec/support/prometheus/additional_metrics_query_helper.rb b/spec/support/prometheus/additional_metrics_query_helper.rb
deleted file mode 100644
index 84cbc24a301..00000000000
--- a/spec/support/prometheus/additional_metrics_query_helper.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-module Prometheus
- module AdditionalMetricsQueryHelper
- def metric_names
- %w{metric_a metric_b}
- end
-
- def query_result
- [
- {
- 'metric': {},
- 'value': [
- 1488772511.004,
- '0.000041021495238095323'
- ]
- }
- ]
- end
-
- def query_range_result
- [
- {
- 'metric': {},
- 'values': [
- [1488758662.506, '0.00002996364761904785'],
- [1488758722.506, '0.00003090239047619091']
- ]
- }
- ]
- end
- end
-end