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
20d35e50
Commit
20d35e50
authored
May 04, 2021
by
Alina Mihaila
Committed by
Evan Read
May 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Proposal for Redis slots name for events tracked using Redis HLL
parent
c4aae485
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
doc/development/usage_ping/index.md
doc/development/usage_ping/index.md
+3
-2
No files found.
doc/development/usage_ping/index.md
View file @
20d35e50
...
...
@@ -635,11 +635,12 @@ Implemented using Redis methods [PFADD](https://redis.io/commands/pfadd) and [PF
-
`category`
: event category. Used for getting total counts for events in a category, for easier
access to a group of events.
-
`redis_slot`
: optional Redis slot
; default value: event name. Used if needed to calculate totals
for a group of metrics
. Ensure keys are in the same slot. For example:
-
`redis_slot`
: optional Redis slot
. Default value: event name. Only event data that is stored in the same slot
can be aggregated
. Ensure keys are in the same slot. For example:
`users_creating_epics`
with
`redis_slot: 'users'`
builds Redis key
`{users}_creating_epics-2020-34`
. If
`redis_slot`
is not defined the Redis key will
be
`{users_creating_epics}-2020-34`
.
Recommended slots to use are:
`users`
,
`projects`
. This is the value we count.
-
`expiry`
: expiry time in days. Default: 29 days for daily aggregation and 6 weeks for weekly
aggregation.
-
`aggregation`
: may be set to a
`:daily`
or
`:weekly`
key. Defines how counting data is stored in Redis.
...
...
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