gitlab-ce/lib/gitlab
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
..
auth
backend Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into remove-grack-lfs 2016-08-09 12:27:37 +02:00
badge Add small corrections to test coverage report badge 2016-08-15 14:39:46 +02:00
bitbucket_import
checks Change the order of the access rules to check simpler first, and add specs 2016-08-12 18:27:42 -04:00
ci Memoize CI config node validator to prevent leaks 2016-08-09 11:29:32 +02:00
data_builder Simplify the name for data builder, feedback: 2016-08-12 16:09:29 +08:00
database
diff switch from diff_file_collection to diffs 2016-08-03 07:00:20 +02:00
downtime_check
email Rails prefers require_dependency so that it won't require twice: 2016-08-09 06:48:23 +00:00
fogbugz_import
gfm
git
github_import Prefixes removed branches name with PR number when importing PR from GH 2016-08-08 20:24:40 -03:00
gitlab_import
gitorious_import
google_code_import
graphs
import_export refactor parse_hash based on feedback 2016-08-11 21:42:34 +02:00
ldap Enable Style/SpaceAroundEqualsInParameterDefault cop 2016-08-06 04:03:01 +02:00
markdown
metrics Tracking of custom events 2016-08-17 10:04:04 +02:00
middleware
o_auth
request_profiler Rails prefers require_dependency so that it won't require twice: 2016-08-09 06:48:23 +00:00
saml
sanitizers
sherlock
sidekiq_middleware
sql
template Load issues and merge requests templates from repository 2016-08-16 15:50:17 -03:00
access.rb
app_logger.rb
asciidoc.rb
auth.rb
award_emoji.rb
bitbucket_import.rb
blame.rb
changes_list.rb api for generating new merge request 2016-08-11 23:37:00 +07:00
closing_issue_extractor.rb Don’t close issues on original project from a fork 2016-08-04 12:38:08 +02:00
color_schemes.rb
config_helper.rb
contributions_calendar.rb
contributor.rb
current_settings.rb
database.rb
devise_failure.rb
downtime_check.rb
emoji.rb
exclusive_lease.rb
git.rb api for generating new merge request 2016-08-11 23:37:00 +07:00
git_access.rb api for generating new merge request 2016-08-11 23:37:00 +07:00
git_access_status.rb
git_access_wiki.rb
git_logger.rb
git_post_receive.rb Log base64-decoded PostReceive arguments 2016-08-05 15:00:12 +02:00
git_ref_validator.rb
gitorious_import.rb
gl_id.rb
gon_helper.rb
highlight.rb
identifier.rb
import_export.rb using shared path for project import uploads and refactored gitlab remove export worker 2016-08-04 12:51:55 +02:00
import_formatter.rb
import_sources.rb
incoming_email.rb
issues_labels.rb
key_fingerprint.rb
lazy.rb
logger.rb
mail_room.rb Small refactor and a few documentation fixes 2016-08-04 19:02:39 +02:00
markup_helper.rb
metrics.rb Tracking of custom events 2016-08-17 10:04:04 +02:00
other_markup.rb
popen.rb Enable Style/SpaceAroundEqualsInParameterDefault cop 2016-08-06 04:03:01 +02:00
production_logger.rb
project_search_results.rb
protocol_access.rb
recaptcha.rb
redis.rb Small refactor in Redis class and improved specs 2016-08-06 04:15:16 +02:00
reference_extractor.rb
regex.rb
repository_check_logger.rb
request_profiler.rb
routing.rb
search_results.rb
seeder.rb
sherlock.rb
sidekiq_logger.rb
snippet_search_results.rb
themes.rb
timeless.rb
upgrader.rb
uploads_transfer.rb
url_builder.rb
url_sanitizer.rb
user_access.rb Improve EE compatibility with protected branch access levels. 2016-08-16 12:08:10 +05:30
utils.rb
version_info.rb
visibility_level.rb
workhorse.rb