Sample pull_repo events

This commit is contained in:
Silas Sewell 2015-09-15 15:23:06 -04:00
parent 68deff0e24
commit a8183ed87b
2 changed files with 8 additions and 4 deletions

View file

@ -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)