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
066dadfa
Commit
066dadfa
authored
Mar 25, 2021
by
Hordur Freyr Yngvason
Committed by
David Fernandez
Mar 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove feature flag usage_data_track_ci_templates_unique_projects
See
https://gitlab.com/gitlab-org/gitlab/-/issues/296880
parent
a6d5966a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
25 deletions
+5
-25
changelogs/unreleased/remove-ci-templates-usage-data-ff.yml
changelogs/unreleased/remove-ci-templates-usage-data-ff.yml
+5
-0
config/feature_flags/development/usage_data_track_ci_templates_unique_projects.yml
...lopment/usage_data_track_ci_templates_unique_projects.yml
+0
-8
lib/gitlab/usage_data_counters/ci_template_unique_counter.rb
lib/gitlab/usage_data_counters/ci_template_unique_counter.rb
+0
-2
lib/gitlab/usage_data_counters/known_events/ci_templates.yml
lib/gitlab/usage_data_counters/known_events/ci_templates.yml
+0
-15
No files found.
changelogs/unreleased/remove-ci-templates-usage-data-ff.yml
0 → 100644
View file @
066dadfa
---
title
:
Remove feature flag usage_data_track_ci_templates_unique_projects
merge_request
:
57280
author
:
type
:
changed
config/feature_flags/development/usage_data_track_ci_templates_unique_projects.yml
deleted
100644 → 0
View file @
a6d5966a
---
name
:
usage_data_track_ci_templates_unique_projects
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/50481
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/296880
milestone
:
'
13.8'
type
:
development
group
:
group::configure
default_enabled
:
true
lib/gitlab/usage_data_counters/ci_template_unique_counter.rb
View file @
066dadfa
...
@@ -20,8 +20,6 @@ module Gitlab::UsageDataCounters
...
@@ -20,8 +20,6 @@ module Gitlab::UsageDataCounters
class
<<
self
class
<<
self
def
track_unique_project_event
(
project_id
:,
template
:,
config_source
:)
def
track_unique_project_event
(
project_id
:,
template
:,
config_source
:)
return
if
Feature
.
disabled?
(
:usage_data_track_ci_templates_unique_projects
,
default_enabled: :yaml
)
if
event
=
unique_project_event
(
template
,
config_source
)
if
event
=
unique_project_event
(
template
,
config_source
)
Gitlab
::
UsageDataCounters
::
HLLRedisCounter
.
track_event
(
event
,
values:
project_id
)
Gitlab
::
UsageDataCounters
::
HLLRedisCounter
.
track_event
(
event
,
values:
project_id
)
end
end
...
...
lib/gitlab/usage_data_counters/known_events/ci_templates.yml
View file @
066dadfa
...
@@ -3,89 +3,74 @@
...
@@ -3,89 +3,74 @@
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
-
name
:
p_ci_templates_implicit_auto_devops_build
-
name
:
p_ci_templates_implicit_auto_devops_build
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
-
name
:
p_ci_templates_implicit_auto_devops_deploy
-
name
:
p_ci_templates_implicit_auto_devops_deploy
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
-
name
:
p_ci_templates_implicit_security_sast
-
name
:
p_ci_templates_implicit_security_sast
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
-
name
:
p_ci_templates_implicit_security_secret_detection
-
name
:
p_ci_templates_implicit_security_secret_detection
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
# Explicit include:template pipeline events
# Explicit include:template pipeline events
-
name
:
p_ci_templates_5_min_production_app
-
name
:
p_ci_templates_5_min_production_app
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
-
name
:
p_ci_templates_auto_devops
-
name
:
p_ci_templates_auto_devops
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
-
name
:
p_ci_templates_aws_cf_deploy_ec2
-
name
:
p_ci_templates_aws_cf_deploy_ec2
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
-
name
:
p_ci_templates_aws_deploy_ecs
-
name
:
p_ci_templates_aws_deploy_ecs
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
-
name
:
p_ci_templates_auto_devops_build
-
name
:
p_ci_templates_auto_devops_build
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
-
name
:
p_ci_templates_auto_devops_deploy
-
name
:
p_ci_templates_auto_devops_deploy
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
-
name
:
p_ci_templates_auto_devops_deploy_latest
-
name
:
p_ci_templates_auto_devops_deploy_latest
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
-
name
:
p_ci_templates_security_sast
-
name
:
p_ci_templates_security_sast
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
-
name
:
p_ci_templates_security_secret_detection
-
name
:
p_ci_templates_security_secret_detection
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
-
name
:
p_ci_templates_terraform_base_latest
-
name
:
p_ci_templates_terraform_base_latest
category
:
ci_templates
category
:
ci_templates
redis_slot
:
ci_templates
redis_slot
:
ci_templates
aggregation
:
weekly
aggregation
:
weekly
feature_flag
:
usage_data_track_ci_templates_unique_projects
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