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
48cfb186
Commit
48cfb186
authored
Dec 01, 2020
by
Alina Mihaila
Committed by
Mike Jang
Dec 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust docs for tracking using Redis HLL
- Add feature flag default enabled to docs
parent
7f659a4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
doc/development/product_analytics/usage_ping.md
doc/development/product_analytics/usage_ping.md
+10
-6
No files found.
doc/development/product_analytics/usage_ping.md
View file @
48cfb186
...
...
@@ -464,13 +464,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
...
...
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