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
ab69ba9f
Commit
ab69ba9f
authored
May 31, 2021
by
Piotr Skorupa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add license_billable_users to Usage Ping for EE
parent
ec469871
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
ee/config/metrics/license/20210531204603_license_billable_users.yml
...metrics/license/20210531204603_license_billable_users.yml
+19
-0
ee/lib/ee/gitlab/usage_data.rb
ee/lib/ee/gitlab/usage_data.rb
+1
-0
No files found.
ee/config/metrics/license/20210531204603_license_billable_users.yml
0 → 100644
View file @
ab69ba9f
---
key_path
:
license_billable_users
name
:
billable_users
description
:
Count of all billable users (active users excluding bots and guests).
product_section
:
growth
product_stage
:
growth
product_group
:
group::product intelligence
product_category
:
collection
value_type
:
string
status
:
implemented
milestone
:
"
14.0"
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/62850
time_frame
:
all
data_source
:
database
distribution
:
-
ee
tier
:
-
premium
-
ultimate
ee/lib/ee/gitlab/usage_data.rb
View file @
ab69ba9f
...
...
@@ -97,6 +97,7 @@ module EE
# rubocop: enable UsageData/LargeTable
usage_data
[
:licensee
]
=
license
.
licensee
usage_data
[
:license_user_count
]
=
license
.
restricted_user_count
usage_data
[
:license_billable_user_count
]
=
license
.
daily_billable_users_count
usage_data
[
:license_starts_at
]
=
license
.
starts_at
usage_data
[
:license_expires_at
]
=
license
.
expires_at
usage_data
[
:license_plan
]
=
license
.
plan
...
...
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