gitlab-org--gitlab-foss/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
background_migration Use the :migration metadata in migration specs 2018-02-12 16:54:21 +01:00
badge
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
conflict
cycle_analytics
data_builder
database Use hashed storage in the specs 2018-02-07 13:40:46 +00:00
dependency_linker
diff
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
gitlab_import
google_code_import
gpg
graphs
health_checks
hook_data
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
ldap
legacy_github_import
metrics
middleware Honour workhorse provided file name 2018-02-12 17:31:29 +01:00
o_auth
popen
prometheus
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
sql
storage_check
template
utils
view/presenter
action_rate_limiter_spec.rb
allowable_spec.rb
app_logger_spec.rb
asciidoc_spec.rb
auth_spec.rb
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
color_schemes_spec.rb
contributions_calendar_spec.rb
current_settings_spec.rb
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
fake_application_settings_spec.rb
file_detector_spec.rb
file_finder_spec.rb
git_access_spec.rb
git_access_wiki_spec.rb
git_ref_validator_spec.rb
git_spec.rb
gitaly_client_spec.rb
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
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
multi_collection_paginator_spec.rb
optimistic_locking_spec.rb
other_markup_spec.rb
otp_key_rotator_spec.rb
path_regex_spec.rb
performance_bar_spec.rb
polling_interval_spec.rb
popen_spec.rb
profiler_spec.rb
project_authorizations_spec.rb
project_search_results_spec.rb
project_template_spec.rb
project_transfer_spec.rb
prometheus_client_spec.rb
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
regex_spec.rb
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
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
user_access_spec.rb
user_activities_spec.rb
utils_spec.rb
version_info_spec.rb
visibility_level_spec.rb
workhorse_spec.rb Use hashed storage in the specs 2018-02-07 13:40:46 +00:00