summaryrefslogtreecommitdiff
path: root/app/workers/analytics/instance_statistics/count_job_trigger_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/analytics/instance_statistics/count_job_trigger_worker.rb')
-rw-r--r--app/workers/analytics/instance_statistics/count_job_trigger_worker.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/workers/analytics/instance_statistics/count_job_trigger_worker.rb b/app/workers/analytics/instance_statistics/count_job_trigger_worker.rb
index a9976c6e5cb..bf57619fc6e 100644
--- a/app/workers/analytics/instance_statistics/count_job_trigger_worker.rb
+++ b/app/workers/analytics/instance_statistics/count_job_trigger_worker.rb
@@ -14,13 +14,10 @@ module Analytics
idempotent!
def perform
- return if Feature.disabled?(:store_instance_statistics_measurements, default_enabled: true)
-
recorded_at = Time.zone.now
- measurement_identifiers = Analytics::InstanceStatistics::Measurement.identifiers
worker_arguments = Gitlab::Analytics::InstanceStatistics::WorkersArgumentBuilder.new(
- measurement_identifiers: measurement_identifiers.values,
+ measurement_identifiers: ::Analytics::InstanceStatistics::Measurement.measurement_identifier_values,
recorded_at: recorded_at
).execute