Sample pull_repo events
This commit is contained in:
parent
68deff0e24
commit
a8183ed87b
2 changed files with 8 additions and 4 deletions
|
@ -270,7 +270,7 @@ def get_repository_images(namespace, repository):
|
|||
resp = make_response(json.dumps([]), 200)
|
||||
resp.mimetype = 'application/json'
|
||||
|
||||
track_and_log('pull_repo', repo)
|
||||
track_and_log('pull_repo', repo, analytics_name='pull_repo_100x', analytics_sample=0.01)
|
||||
return resp
|
||||
|
||||
abort(403)
|
||||
|
|
Reference in a new issue