gitlab-org--gitlab-foss/app/workers
Yorick Peterse d345591fc8
Tracking of custom events
GitLab Performance Monitoring is now able to track custom events not
directly related to application performance. These events include the
number of tags pushed, repositories created, builds registered, etc.

The use of these events is to get a better overview of how a GitLab
instance is used and how that may affect performance. For example, a
large number of Git pushes may have a negative impact on the underlying
storage engine.

Events are stored in the "events" measurement and are not prefixed with
"rails_" or "sidekiq_", this makes it easier to query events with the
same name triggered from different parts of the application. All events
being stored in the same measurement also makes it easier to downsample
data.

Currently the following events are tracked:

* Creating repositories
* Removing repositories
* Changing the default branch of a repository
* Pushing a new tag
* Removing an existing tag
* Pushing a commit (along with the branch being pushed to)
* Pushing a new branch
* Removing an existing branch
* Importing a repository (along with the URL we're importing)
* Forking a repository (along with the source/target path)
* CI builds registered (and when no build could be found)
* CI builds being updated
* Rails and Sidekiq exceptions

Fixes gitlab-org/gitlab-ce#13720
2016-08-17 10:04:04 +02:00
..
repository_check
admin_email_worker.rb
build_email_worker.rb
delete_user_worker.rb
email_receiver_worker.rb
emails_on_push_worker.rb
expire_build_artifacts_worker.rb
git_garbage_collect_worker.rb
gitlab_shell_worker.rb
group_destroy_worker.rb Fix bug where destroying a namespace would not always destroy projects 2016-08-11 15:36:35 -07:00
import_export_project_cleanup_worker.rb
irker_worker.rb
merge_worker.rb
new_note_worker.rb
post_receive.rb
project_cache_worker.rb
project_destroy_worker.rb
project_export_worker.rb
project_service_worker.rb
project_web_hook_worker.rb
repository_archive_cache_worker.rb
repository_fork_worker.rb Tracking of custom events 2016-08-17 10:04:04 +02:00
repository_import_worker.rb Tracking of custom events 2016-08-17 10:04:04 +02:00
requests_profiles_worker.rb
stuck_ci_builds_worker.rb
system_hook_worker.rb