gitlab-org--gitlab-foss/lib/gitlab
Yorick Peterse e3bd674e81
Remove Sentry reporting for query limiting
Using Sentry, while useful, poses two problems you have to choose from:

1. All errors are reported separately, making it easy to create issues
   but also making it next to impossible to see other errors (due to the
   sheer volume of threshold errors).

2. Errors can be grouped or merged together, reducing the noise. This
   however also means it's (as far as I can tell) much harder to
   automatically create GitLab issues from Sentry for the offending
   controllers.

Since both solutions are terrible I decided to go with a third option:
not using Sentry for this at all. Instead we'll investigate using
Prometheus alerts and Grafana dashboards for this, which has the added
benefit of being able to more accurately measure the behaviour over
time.

Note that throwing errors in test environments is still enabled, and
whitelisting is still necessary to prevent that from happening (and that
in turn still requires that developers create issues).
2018-02-13 17:26:59 +01:00
..
auth Fixing request json mime type 2018-01-15 09:09:21 +00:00
background_migration Handle uniqueness on fork_network_member creation 2018-02-08 09:44:58 +01:00
badge Change coverage badge rounding for other CI system consistency 2018-02-01 17:40:26 -06:00
bare_repository_import Look for rugged with static analysis 2018-01-25 14:05:11 +01:00
bitbucket_import Fix bitbucket wiki import with hashed storage enabled 2017-11-20 16:14:41 +00:00
cache Use StrongMemoize and enable/disable cops properly 2017-11-18 01:01:53 +08:00
checks Backport of LFS File Locking API 2018-02-07 09:04:00 -05:00
ci Merge branch '41209-ci-linter-fails-on-gitlab-ci-blob-viewer' into 'master' 2018-02-07 13:09:56 +00: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 add the uploader context to the upload model 2018-02-02 09:28:15 -05:00
git Remove allow_n_plus_1 from Git::Repository#branches_filter 2018-02-08 19:20:46 +01:00
gitaly_client Migrate Git::Blob.batch to Gitaly 2018-02-08 00:26:45 +01:00
github_import Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
gitlab_import Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
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 Create an empty wiki when there is no wiki in the gitlab export bundle 2018-02-12 15:38:10 +00:00
kubernetes Enable Prometheus metrics for deployed Ingresses 2018-02-05 12:46:31 +00:00
ldap Added ldap config setting to lower case usernames 2018-02-05 22:35:34 +00:00
legacy_github_import use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
metrics use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
middleware Honour workhorse provided file name 2018-02-12 17:31:29 +01:00
o_auth Validate User username only on Namespace, and bubble up appropriately 2018-02-06 12:09:03 -06:00
performance_bar Fix SQL timings for the performance bar 2017-11-03 15:45:58 +01:00
popen Use Process::Status rather than an integer 2018-01-26 19:42:48 +08:00
project_authorizations
prometheus Make prometheus service querying approach much nicer wrt to arity and default function params 2018-02-07 01:54:09 +01:00
query_limiting Remove Sentry reporting for query limiting 2018-02-13 17:26:59 +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 Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
sanitizers
serializer
sherlock Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
sidekiq_middleware Explicitly set cwd in Sidekiq memory killer instead of depending on getcwd 2018-02-06 11:14:45 -06:00
sidekiq_status
sidekiq_versioning Use a dedicated queue for each worker 2017-12-12 17:36:20 +01:00
slash_commands Use StrongMemoize and enable/disable cops properly 2017-11-18 01:01:53 +08:00
sql Use fuzzy search with minimum length of 3 characters where appropriate 2017-11-27 11:29:40 +01:00
storage_check Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
template Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
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 Clarify wording of protected branch settings for the default branch 2017-11-20 16:09:56 +00:00
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 use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
auth.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
background_migration.rb
blame.rb
changes_list.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
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 use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
daemon.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
database.rb Merge branch 'mk-add-old-attachments-to-uploads-table' into 'master' 2017-12-07 02:34:58 +00:00
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 Return a warning string if we try to encode to unsupported encoding 2018-02-09 22:19:43 +01: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 Merge branch 'gitaly-970-repo-write-config' into 'master' 2018-02-01 19:46:32 +00:00
git_access.rb Check ability ability before proceeding with project specific checks 2018-02-06 18:38:10 +00:00
git_access_wiki.rb Move new project on push logic to a service 2018-02-06 13:35:35 +00:00
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 Rename fetch_refs to refmap 2017-11-23 16:59:58 +01:00
gl_id.rb
gl_repository.rb
gon_helper.rb Merge branch 'master' into jivl-update-katex 2018-02-05 15:16:41 -06: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 Fail when issuable_meta_data is called on an unlimited collection 2017-11-07 16:26:55 +00:00
issuable_sorter.rb
issuables_count_for_state.rb
issues_labels.rb
job_waiter.rb Rewrite the GitHub importer from scratch 2017-11-07 23:24:59 +01:00
kubernetes.rb
lazy.rb
lfs_token.rb Fix Error 500 when pushing LFS objects with a write deploy key 2017-11-08 16:21:39 +00:00
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 Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
other_markup.rb
otp_key_rotator.rb
pages.rb
pages_transfer.rb
path_regex.rb Merge branch 'master' into '26388-push-to-create-a-new-project' 2018-02-06 19:14:43 +00:00
performance_bar.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
polling_interval.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
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 Return only limited pagination headers for search API endpoints 2018-02-06 17:58:18 +01:00
project_template.rb
project_transfer.rb
prometheus_client.rb Catch json parsing error as PrometheusError 2018-02-07 02:25:54 +01:00
protocol_access.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
query_limiting.rb Disable query limiting warnings for now on GitLab.com 2018-02-12 11:41:03 -08:00
recaptcha.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
reference_counter.rb
reference_extractor.rb Refactor banzai to support referencing from group context 2017-12-06 19:16:22 +01:00
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 Don't add a trailing slash in group redirects 2017-11-16 17:13:40 +00:00
search_results.rb Support search in API 2018-02-06 16:02:02 +01:00
seeder.rb Mute notifications in the seeder to speed GDK development 2018-01-26 15:25:05 -08:00
sentry.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
setup_helper.rb Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
shell.rb Merge branch 'zj-namespace-gitaly-opt-out' into 'master' 2018-02-08 10:57:42 +00:00
shell_adapter.rb Memoize GitlabShellAdapter for performance and ease of testing 2017-11-20 23:28:49 -08:00
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 Return only limited pagination headers for search API endpoints 2018-02-06 17:58:18 +01:00
ssh_public_key.rb Revert "Merge branch 'rd-40552-gitlab-should-check-if-keys-are-valid-before-saving' into 'master'" 2018-02-12 12:39:47 -05:00
storage_check.rb Move the circuitbreaker check out in a separate process 2017-12-08 09:11:39 +01:00
string_range_marker.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
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 port of 594e6a0a625^..f74c90f68c6 2018-02-01 12:14:46 -05:00
url_blocker.rb Merge branch 'ssrf-protections-round-2' into 'security-10-1' 2017-11-08 20:11:08 -08:00
url_builder.rb
url_sanitizer.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
usage_data.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
user_access.rb Moves project creationg to git access check for git push 2018-02-06 16:52:29 +00: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 Merge branch 'bvl-fix-500-on-fork-without-restricted-visibility-levels' into 'master' 2018-02-02 19:12:55 +00:00
workhorse.rb Upgrade GitLab Workhorse to v3.6.0 2018-02-06 15:34:44 +01:00