diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2018-06-19 20:03:25 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2018-06-21 17:56:40 +0300 |
commit | 9e29408ee6072f2559899582b3300a6de54069ff (patch) | |
tree | 921e3aa0bf3ebe9b61b74973c239b8108de4175b /app/workers/repository_import_worker.rb | |
parent | d229e7d3f50fd1f36bacecd55bb74d0b1ab44cbe (diff) |
Don't expose project names in various counters
Various counters would expose either project names, or full project
paths (e.g. "gitlab-org/gitlab-ce"). This commit changes various places
where we use "add_event" so we no longer expose (potentially) private
information.
Diffstat (limited to 'app/workers/repository_import_worker.rb')
-rw-r--r-- | app/workers/repository_import_worker.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/workers/repository_import_worker.rb b/app/workers/repository_import_worker.rb index d79b5ee5346..973d76ee67b 100644 --- a/app/workers/repository_import_worker.rb +++ b/app/workers/repository_import_worker.rb @@ -9,9 +9,7 @@ class RepositoryImportWorker return unless start_import(project) - Gitlab::Metrics.add_event(:import_repository, - import_url: project.import_url, - path: project.full_path) + Gitlab::Metrics.add_event(:import_repository) service = Projects::ImportService.new(project, project.creator) result = service.execute |