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
541fd23a
Commit
541fd23a
authored
Nov 30, 2020
by
ggelatti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds GuestPackageCounter to usage data
parent
d53fc7f5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
changelogs/unreleased/205578-adds-guest-pkg-events-to-usage-data.yml
...unreleased/205578-adds-guest-pkg-events-to-usage-data.yml
+5
-0
lib/gitlab/usage_data_counters.rb
lib/gitlab/usage_data_counters.rb
+1
-0
spec/lib/gitlab/usage_data_spec.rb
spec/lib/gitlab/usage_data_spec.rb
+1
-0
No files found.
changelogs/unreleased/205578-adds-guest-pkg-events-to-usage-data.yml
0 → 100644
View file @
541fd23a
---
title
:
Adds guest package events to usage data
merge_request
:
48734
author
:
type
:
added
lib/gitlab/usage_data_counters.rb
View file @
541fd23a
...
...
@@ -3,6 +3,7 @@
module
Gitlab
module
UsageDataCounters
COUNTERS
=
[
GuestPackageEventCounter
,
WikiPageCounter
,
WebIdeCounter
,
NoteCounter
,
...
...
spec/lib/gitlab/usage_data_spec.rb
View file @
541fd23a
...
...
@@ -654,6 +654,7 @@ RSpec.describe Gitlab::UsageData, :aggregate_failures do
it
{
is_expected
.
to
include
(
:kubernetes_agent_gitops_sync
)
}
it
{
is_expected
.
to
include
(
:static_site_editor_views
)
}
it
{
is_expected
.
to
include
(
:package_guest_i_package_composer_guest_pull
)
}
end
describe
'.usage_data_counters'
do
...
...
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