gitlab-ce/spec/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 Use the :migration metadata in migration specs 2018-02-12 16:54:21 +01:00
badge Change coverage badge rounding for other CI system consistency 2018-02-01 17:40:26 -06:00
bare_repository_import Use hashed storage in the specs 2018-02-07 13:40:46 +00:00
bitbucket_import
cache
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
cycle_analytics Merge branch 'master' into 22643-manual-job-page 2018-01-04 22:39:01 +00:00
data_builder
database Use hashed storage in the specs 2018-02-07 13:40:46 +00:00
dependency_linker
diff Fix error 500 when viewing commit and merge request diffs 2018-01-07 04:49:07 -08:00
downtime_check
email Use hashed storage in the specs 2018-02-07 13:40:46 +00:00
etag_caching
fogbugz_import
gfm Use hashed storage in the specs 2018-02-07 13:40:46 +00:00
git Migrate Git::Blob.batch to Gitaly 2018-02-08 00:26:45 +01:00
gitaly_client Migrate Git::Blob.batch to Gitaly 2018-02-08 00:26:45 +01:00
github_import Look for rugged with static analysis 2018-01-25 14:05:11 +01:00
gitlab_import
google_code_import Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
gpg Retrieve commit signatures with Gitaly 2018-01-18 14:10:17 +00: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
metrics Rename Concern -> Methods 2018-01-29 15:13:05 +01:00
middleware Honour workhorse provided file name 2018-02-12 17:31:29 +01:00
o_auth Only new users get marked as external 2018-01-30 15:30:25 +00:00
popen Use Process::Status rather than an integer 2018-01-26 19:42:48 +08:00
prometheus Fix rubocop warnings 2018-01-04 17:11:39 +01:00
query_limiting Remove Sentry reporting for query limiting 2018-02-13 17:26:59 +01:00
quick_actions
redis
saml
sanitizers
serializer
sherlock
sidekiq_middleware
sidekiq_status
sidekiq_versioning
slash_commands Make user/author use project.creator in most factories 2018-01-31 18:31:21 +01:00
sql
storage_check
template
utils Use `Gitlab::Utils::Override` over defined?(super) 2017-12-26 17:18:10 +08:00
view/presenter
action_rate_limiter_spec.rb
allowable_spec.rb
app_logger_spec.rb
asciidoc_spec.rb
auth_spec.rb Merge branch 'sh-migrate-can-push-to-deploy-keys-projects-10-3' into 'security-10-3' 2018-01-16 17:04:51 -08:00
background_migration_spec.rb
blame_spec.rb
changes_list_spec.rb
chat_name_token_spec.rb
ci_access_spec.rb
closing_issue_extractor_spec.rb Validate user namespace before saving so that errors persist on model 2018-02-06 12:06:05 -06:00
color_schemes_spec.rb
contributions_calendar_spec.rb
current_settings_spec.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
daemon_spec.rb
database_spec.rb
dependency_linker_spec.rb
downtime_check_spec.rb
encoding_helper_spec.rb Return a warning string if we try to encode to unsupported encoding 2018-02-09 22:19:43 +01:00
exclusive_lease_spec.rb Run background migrations with a minimum interval 2018-01-05 16:23:25 +01:00
fake_application_settings_spec.rb
file_detector_spec.rb
file_finder_spec.rb
git_access_spec.rb Check ability ability before proceeding with project specific checks 2018-02-06 18:38:10 +00:00
git_access_wiki_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
git_ref_validator_spec.rb
git_spec.rb
gitaly_client_spec.rb Add a gRPC health check to ensure Gitaly is up 2018-01-24 15:47:27 -08:00
github_import_spec.rb
gl_repository_spec.rb
gpg_spec.rb
group_hierarchy_spec.rb
highlight_spec.rb
i18n_spec.rb
identifier_spec.rb
import_sources_spec.rb
incoming_email_spec.rb
insecure_key_fingerprint_spec.rb Backport authorized_keys branch 'find-key-by-fingerprint' 2018-01-08 20:34:16 +00:00
issuable_metadata_spec.rb
issuable_sorter_spec.rb
issuables_count_for_state_spec.rb
job_waiter_spec.rb
kubernetes_spec.rb
lazy_spec.rb
lfs_token_spec.rb
markup_helper_spec.rb
metrics_spec.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
multi_collection_paginator_spec.rb
optimistic_locking_spec.rb
other_markup_spec.rb
otp_key_rotator_spec.rb
path_regex_spec.rb Validate User username only on Namespace, and bubble up appropriately 2018-02-06 12:09:03 -06:00
performance_bar_spec.rb
polling_interval_spec.rb
popen_spec.rb Use Process::Status rather than an integer 2018-01-26 19:42:48 +08:00
profiler_spec.rb Add Gitlab::Profiler for profiling from a console or runner 2018-01-19 12:31:54 +00:00
project_authorizations_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
project_search_results_spec.rb Fix project search results for digits surrounded by colons 2018-01-16 11:56:07 +00:00
project_template_spec.rb
project_transfer_spec.rb
prometheus_client_spec.rb Catch json parsing error as PrometheusError 2018-02-07 02:25:54 +01:00
query_limiting_spec.rb Disable query limiting warnings for now on GitLab.com 2018-02-12 11:41:03 -08:00
reference_counter_spec.rb
reference_extractor_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
regex_spec.rb Add spec 2018-01-08 17:18:04 +09:00
repo_path_spec.rb Use hashed storage in the specs 2018-02-07 13:40:46 +00:00
request_context_spec.rb
request_forgery_protection_spec.rb
request_profiler_spec.rb
route_map_spec.rb
routing_spec.rb
search_results_spec.rb Support search in API 2018-02-06 16:02:02 +01:00
sentry_spec.rb
shell_spec.rb Use hashed storage in the specs 2018-02-07 13:40:46 +00:00
sidekiq_config_spec.rb
sidekiq_status_spec.rb
sidekiq_throttler_spec.rb
sidekiq_versioning_spec.rb
snippet_search_results_spec.rb
ssh_public_key_spec.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
string_range_marker_spec.rb
string_regex_marker_spec.rb
tcp_checker_spec.rb
themes_spec.rb
untrusted_regexp_spec.rb
upgrader_spec.rb
uploads_transfer_spec.rb
url_blocker_spec.rb
url_builder_spec.rb
url_sanitizer_spec.rb
usage_data_spec.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
user_access_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
user_activities_spec.rb
utils_spec.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_spec.rb
visibility_level_spec.rb Avoid error when no restricted levels are defined 2018-02-02 13:17:32 +01:00
workhorse_spec.rb Use hashed storage in the specs 2018-02-07 13:40:46 +00:00