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
246ca630
Commit
246ca630
authored
Sep 14, 2020
by
Alina Mihaila
Committed by
Russell Dickenson
Sep 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add naming pattern for Redis HLL metrics to Telemetry guide
parent
8e43527d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
doc/development/telemetry/usage_ping.md
doc/development/telemetry/usage_ping.md
+15
-0
No files found.
doc/development/telemetry/usage_ping.md
View file @
246ca630
...
...
@@ -243,6 +243,21 @@ Implemented using Redis methods [PFADD](https://redis.io/commands/pfadd) and [PF
Keys:
-
`name`
: unique event name.
Name format `<prefix>_<redis_slot>_name`.
Use one of the following prefixes for the event's name:
- `g_` for group, as an event which is tracked for group.
- `p_` for project, as an event which is tracked for project.
- `i_` for instance, as an event which is tracked for instance.
- `a_` for events encompassing all `g_`, `p_`, `i_`.
- `o_` for other.
Consider including in the event's name the Redis slot in order to be able to count totals for a specific category.
Example names: `i_compliance_credential_inventory`, `g_analytics_contribution`.
-
`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
...
...
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