Commit 197aba91 authored by Siddharth Asthana's avatar Siddharth Asthana

Rename feature_category from usage_ping to service_ping

parent 54075699
...@@ -27,7 +27,7 @@ class Admin::ApplicationSettingsController < Admin::ApplicationController ...@@ -27,7 +27,7 @@ class Admin::ApplicationSettingsController < Admin::ApplicationController
feature_category :source_code_management, [:repository, :clear_repository_check_states] feature_category :source_code_management, [:repository, :clear_repository_check_states]
feature_category :continuous_integration, [:ci_cd, :reset_registration_token] feature_category :continuous_integration, [:ci_cd, :reset_registration_token]
feature_category :usage_ping, [:usage_data] feature_category :service_ping, [:usage_data]
feature_category :integrations, [:integrations] feature_category :integrations, [:integrations]
feature_category :pages, [:lets_encrypt_terms_of_service] feature_category :pages, [:lets_encrypt_terms_of_service]
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
class Projects::ServicePingController < Projects::ApplicationController class Projects::ServicePingController < Projects::ApplicationController
before_action :authenticate_user! before_action :authenticate_user!
feature_category :usage_ping feature_category :service_ping
def web_ide_clientside_preview def web_ide_clientside_preview
return render_404 unless Gitlab::CurrentSettings.web_ide_clientside_preview_enabled? return render_404 unless Gitlab::CurrentSettings.web_ide_clientside_preview_enabled?
......
...@@ -267,7 +267,7 @@ ...@@ -267,7 +267,7 @@
:tags: [] :tags: []
- :name: cronjob:gitlab_usage_ping - :name: cronjob:gitlab_usage_ping
:worker_name: GitlabUsagePingWorker :worker_name: GitlabUsagePingWorker
:feature_category: :usage_ping :feature_category: :service_ping
:has_external_dependencies: :has_external_dependencies:
:urgency: :low :urgency: :low
:resource_boundary: :unknown :resource_boundary: :unknown
......
...@@ -8,7 +8,7 @@ class GitlabUsagePingWorker # rubocop:disable Scalability/IdempotentWorker ...@@ -8,7 +8,7 @@ class GitlabUsagePingWorker # rubocop:disable Scalability/IdempotentWorker
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
include Gitlab::ExclusiveLeaseHelpers include Gitlab::ExclusiveLeaseHelpers
feature_category :usage_ping feature_category :service_ping
sidekiq_options retry: 3, dead: false sidekiq_options retry: 3, dead: false
sidekiq_retry_in { |count| (count + 1) * 8.hours.to_i } sidekiq_retry_in { |count| (count + 1) * 8.hours.to_i }
......
...@@ -4,7 +4,7 @@ module API ...@@ -4,7 +4,7 @@ module API
class UsageData < ::API::Base class UsageData < ::API::Base
before { authenticate_non_get! } before { authenticate_non_get! }
feature_category :usage_ping feature_category :service_ping
namespace 'usage_data' do namespace 'usage_data' do
before do before do
......
...@@ -4,7 +4,7 @@ module API ...@@ -4,7 +4,7 @@ module API
class UsageDataNonSqlMetrics < ::API::Base class UsageDataNonSqlMetrics < ::API::Base
before { authenticated_as_admin! } before { authenticated_as_admin! }
feature_category :usage_ping feature_category :service_ping
namespace 'usage_data' do namespace 'usage_data' do
before do before do
......
...@@ -4,7 +4,7 @@ module API ...@@ -4,7 +4,7 @@ module API
class UsageDataQueries < ::API::Base class UsageDataQueries < ::API::Base
before { authenticated_as_admin! } before { authenticated_as_admin! }
feature_category :usage_ping feature_category :service_ping
namespace 'usage_data' do namespace 'usage_data' do
before do before do
......
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