Enable feature flag track_editor_edit_actions-flag by default

parent b40c5b31
...@@ -37,7 +37,7 @@ class Projects::BlobController < Projects::ApplicationController ...@@ -37,7 +37,7 @@ class Projects::BlobController < Projects::ApplicationController
push_frontend_feature_flag(:suggest_pipeline) if experiment_enabled?(:suggest_pipeline) push_frontend_feature_flag(:suggest_pipeline) if experiment_enabled?(:suggest_pipeline)
end end
track_redis_hll_event :create, :update, name: 'g_edit_by_sfe', feature: :track_editor_edit_actions track_redis_hll_event :create, :update, name: 'g_edit_by_sfe', feature: :track_editor_edit_actions, feature_default_enabled: true
def new def new
commit unless @repository.empty? commit unless @repository.empty?
......
...@@ -4,4 +4,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/39694 ...@@ -4,4 +4,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/39694
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/240928 rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/240928
group: group::editor group: group::editor
type: development type: development
default_enabled: false default_enabled: true
...@@ -41,7 +41,7 @@ module Gitlab ...@@ -41,7 +41,7 @@ module Gitlab
private private
def track_unique_action(action, author, time) def track_unique_action(action, author, time)
return unless Feature.enabled?(:track_editor_edit_actions) return unless Feature.enabled?(:track_editor_edit_actions, default_enabled: true)
return unless author return unless author
Gitlab::UsageDataCounters::HLLRedisCounter.track_event(author.id, action, time) Gitlab::UsageDataCounters::HLLRedisCounter.track_event(author.id, action, time)
......
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