gitlab-org--gitlab-foss/lib/gitlab
Yorick Peterse cca61980d5
Track and act upon the number of executed queries
This ensures that we have more visibility in the number of SQL queries
that are executed in web requests. The current threshold is hardcoded to
100 as we will rarely (maybe once or twice) change it.

In production and development we use Sentry if enabled, in the test
environment we raise an error. This feature is also only enabled in
production/staging when running on GitLab.com as it's not very useful to
other users.
2018-02-01 17:00:46 +01:00
..
auth Fixing request json mime type 2018-01-15 09:09:21 +00:00
background_migration Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
badge
bare_repository_import Look for rugged with static analysis 2018-01-25 14:05:11 +01:00
bitbucket_import
cache
checks Backport changes to Gitlab::Checks::ChangeAccess from EE 2018-01-23 17:12:44 +01:00
ci Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
conflict Simplify conflict resolution interface and code 2018-01-02 16:22:02 -03:00
cycle_analytics Remove soft removals related code 2018-01-08 17:04:45 +01:00
data_builder
database Use has_table_privilege for TRIGGER on PostgreSQL 2018-01-22 13:43:38 +01:00
dependency_linker Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
diff Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
downtime_check
email Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
etag_caching
fogbugz_import Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
gfm
git Merge branch '42497-rubocop-style-regexpliteral' into 'master' 2018-02-01 09:11:09 +00:00
gitaly_client Merge branch 'repository-log-disable-walk' into 'master' 2018-01-31 21:54:02 +00:00
github_import Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
gitlab_import
google_code_import Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
gpg Retrieve commit signatures with Gitaly 2018-01-18 14:10:17 +00:00
grape_logging Save user ID and username in Grape API log (api_json.log) 2018-01-08 21:23:24 -08:00
graphs
health_checks Add a gRPC health check to ensure Gitaly is up 2018-01-24 15:47:27 -08:00
hook_data Remove soft removals related code 2018-01-08 17:04:45 +01:00
i18n
import_export Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
kubernetes Resolve "Managed Prometheus deployment installs a lot of extra stuff" 2018-01-15 16:27:58 +00:00
ldap Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
legacy_github_import
metrics Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
middleware Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
o_auth Only new users get marked as external 2018-01-30 15:30:25 +00:00
performance_bar
popen Use Process::Status rather than an integer 2018-01-26 19:42:48 +08:00
project_authorizations
prometheus
query_limiting Track and act upon the number of executed queries 2018-02-01 17:00:46 +01:00
quick_actions Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
redis Eliminate the last warning for redis wrapper 2018-01-26 19:42:48 +08:00
request_profiler
saml
sanitizers
serializer
sherlock Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
sidekiq_middleware
sidekiq_status
sidekiq_versioning Use a dedicated queue for each worker 2017-12-12 17:36:20 +01:00
slash_commands
sql
storage_check Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
template
testing Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
utils Use Gitlab::Utils::Override over defined?(super) 2017-12-26 17:18:10 +08:00
view/presenter Present member collection at the controller level 2017-12-12 18:14:58 +01:00
access.rb
action_rate_limiter.rb Address review comments with playing pipeline scheduler 2017-12-12 17:12:45 -08:00
allowable.rb
app_logger.rb
asciidoc.rb
auth.rb
background_migration.rb
blame.rb
changes_list.rb
chat_name_token.rb
ci_access.rb
closing_issue_extractor.rb
color_schemes.rb
config_helper.rb
contributions_calendar.rb
contributor.rb
current_settings.rb
daemon.rb
database.rb
dependency_linker.rb
downtime_check.rb
ee_compat_check.rb Ignore conflicts in db/schema.rb in Gitlab::EeCompatCheck 2018-01-30 18:22:36 +01:00
emoji.rb
encoding_helper.rb Fix a bug where charlock_holmes was used needlessly to encode strings 2018-01-04 19:27:37 -03:00
environment.rb
environment_logger.rb
exclusive_lease.rb Run background migrations with a minimum interval 2018-01-05 16:23:25 +01:00
fake_application_settings.rb
file_detector.rb Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
file_finder.rb
git.rb Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
git_access.rb Allow git pull/push on project redirects 2017-12-08 17:42:43 +00:00
git_access_wiki.rb
git_logger.rb
git_post_receive.rb
git_ref_validator.rb
gitaly_client.rb Rename Concern -> Methods 2018-01-29 15:13:05 +01:00
github_import.rb
gl_id.rb
gl_repository.rb
gon_helper.rb Multi File Editor File icons 2018-01-03 10:08:14 +00:00
gpg.rb
group_hierarchy.rb
highlight.rb
i18n.rb
identifier.rb Allow git pull/push on project redirects 2017-12-08 17:42:43 +00:00
import_export.rb Bump import/export version to 2.2.0 2018-01-05 15:18:17 +01:00
import_formatter.rb
import_sources.rb add note to import sources 2018-01-03 09:31:32 +01:00
incoming_email.rb
insecure_key_fingerprint.rb Backport authorized_keys branch 'find-key-by-fingerprint' 2018-01-08 20:34:16 +00:00
issuable_metadata.rb
issuable_sorter.rb
issuables_count_for_state.rb
issues_labels.rb
job_waiter.rb
kubernetes.rb
lazy.rb
lfs_token.rb
logger.rb
mail_room.rb
markup_helper.rb
metrics.rb Convert InfluxDB to concern. Fix uninitialized metrics when metrics code is inherited. 2018-01-29 15:13:04 +01:00
multi_collection_paginator.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
o_auth.rb Merge branch 'jej/fix-disabled-oauth-access-10-3' into 'security-10-3' 2018-01-16 17:05:01 -08:00
optimistic_locking.rb
other_markup.rb
otp_key_rotator.rb
pages.rb
pages_transfer.rb
path_regex.rb
performance_bar.rb In development, allow the toggling of the performance bar 2018-01-17 13:56:05 +01:00
polling_interval.rb
popen.rb Use Process::Status rather than an integer 2018-01-26 19:42:48 +08:00
profiler.rb Add Gitlab::Profiler for profiling from a console or runner 2018-01-19 12:31:54 +00:00
project_search_results.rb Use limit for search count queries 2018-01-23 22:33:42 +01:00
project_template.rb
project_transfer.rb
prometheus_client.rb
protocol_access.rb
query_limiting.rb Track and act upon the number of executed queries 2018-02-01 17:00:46 +01:00
recaptcha.rb
reference_counter.rb
reference_extractor.rb
regex.rb Merge branch 'ac/41346-xss-ci-job-output' into 'security-10-3' 2018-01-16 17:04:38 -08:00
repo_path.rb Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
repository_check_logger.rb
request_context.rb
request_forgery_protection.rb
request_profiler.rb
route_map.rb
routing.rb
search_results.rb Use limit for search count queries 2018-01-23 22:33:42 +01:00
seeder.rb Mute notifications in the seeder to speed GDK development 2018-01-26 15:25:05 -08:00
sentry.rb
setup_helper.rb Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
shell.rb Merge branch 'zj-migrate-gitlab-project-rm-mv' into 'master' 2018-01-10 10:09:57 +00:00
shell_adapter.rb
sherlock.rb
sidekiq_config.rb Use a dedicated queue for each worker 2017-12-12 17:36:20 +01:00
sidekiq_logger.rb
sidekiq_status.rb
sidekiq_throttler.rb
sidekiq_versioning.rb Use a dedicated queue for each worker 2017-12-12 17:36:20 +01:00
snippet_search_results.rb Use limit for search count queries 2018-01-23 22:33:42 +01:00
ssh_public_key.rb
storage_check.rb
string_range_marker.rb
string_regex_marker.rb
task_helpers.rb Fix rubocop offenses. It's not checked before when 2018-01-26 19:42:48 +08:00
tcp_checker.rb Add a gitlab:tcp_check rake task 2017-12-13 15:53:32 +00:00
themes.rb
time_tracking_formatter.rb
timeless.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
untrusted_regexp.rb
update_path_error.rb
upgrader.rb Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
uploads_transfer.rb
url_blocker.rb
url_builder.rb
url_sanitizer.rb
usage_data.rb
user_access.rb Introduce PredicateMemoization cop and fix offenses 2018-01-12 17:54:55 +08:00
user_activities.rb
utils.rb Merge branch '41293-fix-command-injection-vulnerability-on-system_hook_push-queue-through-web-hook' into 'security-10-3' 2018-01-16 17:04:51 -08:00
version_info.rb
visibility_level.rb Forking a project to a namespace with lower visibility. 2017-12-29 11:15:26 +01:00
workhorse.rb Default to Gitaly for 'git push' HTTP/SSH, and make Gitaly mandatory for SSH pull 2018-01-22 16:51:47 +00:00