Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ddbf17f4
Commit
ddbf17f4
authored
Feb 16, 2021
by
Heinrich Lee Yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove issue activity usage data feature flag
Removes the feature flag that has been enabled by default
parent
f66f5b55
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
50 deletions
+0
-50
config/feature_flags/development/track_issue_activity_actions.yml
...eature_flags/development/track_issue_activity_actions.yml
+0
-8
lib/gitlab/usage_data_counters/issue_activity_unique_counter.rb
...tlab/usage_data_counters/issue_activity_unique_counter.rb
+0
-1
lib/gitlab/usage_data_counters/known_events/common.yml
lib/gitlab/usage_data_counters/known_events/common.yml
+0
-33
spec/support/shared_examples/lib/gitlab/usage_data_counters/issue_activity_shared_examples.rb
...lab/usage_data_counters/issue_activity_shared_examples.rb
+0
-8
No files found.
config/feature_flags/development/track_issue_activity_actions.yml
deleted
100644 → 0
View file @
f66f5b55
---
name
:
track_issue_activity_actions
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40904
rollout_issue_url
:
milestone
:
'
13.4'
type
:
development
group
:
group::project management
default_enabled
:
true
lib/gitlab/usage_data_counters/issue_activity_unique_counter.rb
View file @
ddbf17f4
...
...
@@ -145,7 +145,6 @@ module Gitlab
private
def
track_unique_action
(
action
,
author
,
time
)
return
unless
Feature
.
enabled?
(
:track_issue_activity_actions
,
default_enabled:
true
)
return
unless
author
Gitlab
::
UsageDataCounters
::
HLLRedisCounter
.
track_event
(
action
,
values:
author
.
id
,
time:
time
)
...
...
lib/gitlab/usage_data_counters/known_events/common.yml
View file @
ddbf17f4
...
...
@@ -288,167 +288,134 @@
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_description_changed
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_assignee_changed
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_made_confidential
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_made_visible
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_created
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_closed
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_reopened
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_label_changed
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_milestone_changed
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_iteration_changed
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_weight_changed
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_cross_referenced
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_moved
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_related
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_unrelated
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_marked_as_duplicate
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_locked
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_unlocked
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_added_to_epic
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_removed_from_epic
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_changed_epic
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_designs_added
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_designs_modified
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_designs_removed
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_due_date_changed
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_time_estimate_changed
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_time_spent_changed
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_comment_added
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_comment_edited
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_comment_removed
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_health_status_changed
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
-
name
:
g_project_management_issue_cloned
category
:
issues_edit
redis_slot
:
project_management
aggregation
:
daily
feature_flag
:
track_issue_activity_actions
# Secrets Management
-
name
:
i_ci_secrets_management_vault_build_created
category
:
ci_secrets_management
...
...
spec/support/shared_examples/lib/gitlab/usage_data_counters/issue_activity_shared_examples.rb
View file @
ddbf17f4
...
...
@@ -24,12 +24,4 @@ RSpec.shared_examples 'a tracked issue edit event' do |event|
it
'does not track edit actions if author is not present'
do
expect
(
track_action
(
author:
nil
)).
to
be_nil
end
context
'when feature flag track_issue_activity_actions is disabled'
do
it
'does not track edit actions'
do
stub_feature_flags
(
track_issue_activity_actions:
false
)
expect
(
track_action
(
author:
user1
)).
to
be_nil
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment