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
13cc2b82
Commit
13cc2b82
authored
Dec 01, 2020
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab master
parents
18ca049b
6c797123
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
16 deletions
+16
-16
doc/development/product_analytics/usage_ping.md
doc/development/product_analytics/usage_ping.md
+10
-6
doc/user/packages/composer_repository/index.md
doc/user/packages/composer_repository/index.md
+1
-1
doc/user/packages/container_registry/index.md
doc/user/packages/container_registry/index.md
+1
-1
qa/Gemfile.lock
qa/Gemfile.lock
+1
-5
qa/qa/fixtures/auto_devops_rack/Gemfile.lock
qa/qa/fixtures/auto_devops_rack/Gemfile.lock
+1
-1
qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb
...ecs/features/browser_ui/2_plan/issue/create_issue_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/3_create/contribution_analytics_spec.rb
...res/ee/browser_ui/3_create/contribution_analytics_spec.rb
+1
-1
No files found.
doc/development/product_analytics/usage_ping.md
View file @
13cc2b82
...
...
@@ -467,13 +467,17 @@ Next, get the unique events for the current week.
start_date: Date.current.beginning_of_week, end_date: Date.current.end_of_week)
```
Recommendations:
##### Recommendations
- Key should expire in 29 days for daily and 42 days for weekly.
- If possible, data granularity should be a week. For example a key could be composed from the
metric's name and week of the year, `
2020-33-{metric_name}
`.
- Use a [feature flag](../../operations/feature_flags.md) to have a control over the impact when
adding new metrics.
We have the following recommendations for [Adding new events](#adding-new-events):
- Event aggregation: weekly.
- Key expiry time:
- Daily: 29 days.
- Weekly: 42 days.
- When adding new metrics, use a [feature flag](../../operations/feature_flags.md) to control the impact.
- For feature flags triggered by another service, set `
default_enabled: false
`,
- Events can be triggered using the `
UsageData
` API, which helps when there are > 10 events per change
##### Enable/Disable Redis HLL tracking
...
...
doc/user/packages/composer_repository/index.md
View file @
13cc2b82
...
...
@@ -116,7 +116,7 @@ You can publish a Composer package to the Package Registry as part of your CI/CD
1.
Run the pipeline.
You can view the published package by going to
**Packages & Registries > Package Registry**
and selecting
the
**Composer**
tab.
To view the published package, go to
**Packages & Registries > Package Registry**
and select
the
**Composer**
tab.
### Use a CI/CD template
...
...
doc/user/packages/container_registry/index.md
View file @
13cc2b82
...
...
@@ -127,7 +127,7 @@ To build and push to the Container Registry:
docker push registry.example.com/group/project/image
```
You can also view these commands by going
to your project's
**Packages & Registries > Container Registry**
.
To view these commands, go
to your project's
**Packages & Registries > Container Registry**
.
## Build and push by using GitLab CI/CD
...
...
qa/Gemfile.lock
View file @
13cc2b82
...
...
@@ -39,9 +39,6 @@ GEM
adamantium (~> 0.2.0)
equalizer (~> 0.0.9)
concurrent-ruby (1.1.7)
debase (0.2.4.1)
debase-ruby_core_source (>= 0.10.2)
debase-ruby_core_source (0.10.6)
diff-lcs (1.3)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
...
...
@@ -88,7 +85,7 @@ GEM
byebug (~> 9.1)
pry (~> 0.10)
public_suffix (4.0.1)
rack (2.2.
2
)
rack (2.2.
3
)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rake (12.3.3)
...
...
@@ -155,7 +152,6 @@ DEPENDENCIES
airborne (~> 0.3.4)
capybara (~> 3.29.0)
capybara-screenshot (~> 1.0.23)
debase (~> 0.2.4.1)
faker (~> 1.6, >= 1.6.6)
gitlab-qa
knapsack (~> 1.17)
...
...
qa/qa/fixtures/auto_devops_rack/Gemfile.lock
View file @
13cc2b82
GEM
remote: https://rubygems.org/
specs:
rack (2.
0.6
)
rack (2.
2.3
)
rake (12.3.3)
PLATFORMS
...
...
qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb
View file @
13cc2b82
...
...
@@ -19,7 +19,7 @@ module QA
end
end
it
'closes an issue'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/225303'
,
type: :bug
},
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1085'
do
it
'closes an issue'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1085'
do
closed_issue
.
visit!
Page
::
Project
::
Issue
::
Show
.
perform
do
|
issue_page
|
...
...
qa/qa/specs/features/ee/browser_ui/3_create/contribution_analytics_spec.rb
View file @
13cc2b82
...
...
@@ -41,7 +41,7 @@ module QA
Page
::
Group
::
Menu
.
perform
(
&
:click_contribution_analytics_item
)
end
it
'tests contributions'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/225303'
,
type: :bug
},
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/527'
do
it
'tests contributions'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/527'
do
EE
::
Page
::
Group
::
ContributionAnalytics
.
perform
do
|
contribution_analytics
|
expect
(
contribution_analytics
).
to
have_push_element
(
'3 pushes, more than 4.0 commits by 1 person contributors.'
)
expect
(
contribution_analytics
).
to
have_mr_element
(
'1 created, 1 merged.'
)
...
...
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