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
95cf4a76
Commit
95cf4a76
authored
Sep 04, 2020
by
alinamihaila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update related docs
parent
36aa8479
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/development/telemetry/usage_ping.md
doc/development/telemetry/usage_ping.md
+2
-2
No files found.
doc/development/telemetry/usage_ping.md
View file @
95cf4a76
...
...
@@ -288,7 +288,7 @@ Implemented using Redis methods [PFADD](https://redis.io/commands/pfadd) and [PF
end
```
1.
Track event in API using
`increment_unique_
event
s(event_name, values)`
helper method
1.
Track event in API using
`increment_unique_
value
s(event_name, values)`
helper method
In order to be able to track the events usage ping should be enabled and event feature
`usage_data_<event_name>`
should be enabled.
...
...
@@ -305,7 +305,7 @@ Implemented using Redis methods [PFADD](https://redis.io/commands/pfadd) and [PF
user:
current_user
,
subject:
user_group
).
execute
increment_unique_
event
s
(
'i_list_repositories'
,
current_user
.
id
)
increment_unique_
value
s
(
'i_list_repositories'
,
current_user
.
id
)
present
paginate
(
repositories
),
with:
Entities
::
ContainerRegistry
::
Repository
,
tags:
params
[
:tags
],
tags_count:
params
[
:tags_count
]
end
...
...
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