gitlab-org--gitlab-foss/config/initializers
Aleksei Lipniagov 3f9815865c Fix metric files being wiped after the app starts
When we hit our app with the initial request, in `warmup`,
some metrics already being created as well as corresponding files.
If we do `multiproc_file_dir` cleanup after that, we delete the files
from the dir while keeping them in memory which leads to the incorrect
behavior: the metric is being updated in in-memory, while is not present
in the db, not sent to Prometheus as the result.
2019-08-12 13:52:15 +03:00
..
0_acts_as_taggable.rb
0_as_concern.rb
0_inflections.rb Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809 2019-08-01 20:38:07 +03:00
0_inject_enterprise_edition_module.rb Revert "Merge branch 'backport-fix-remaining-prepend-lines' into 'master'" 2019-08-05 04:02:08 +00:00
0_license.rb Remove unneeded monkey-patch 2019-07-25 12:21:38 +08:00
0_post_deployment_migrations.rb
0_thread_cache.rb Add a memory cache local to the thread to reduce Redis load 2019-07-01 22:23:01 -07:00
1_postgresql_only.rb Only support postgresql 2019-06-19 14:11:00 +01:00
01_secret_token.rb Store Let's Encrypt private key in settings 2019-05-28 04:47:34 +00:00
1_settings.rb Add support for Content-Security-Policy 2019-08-07 12:37:31 +10:00
2_gitlab.rb
5_backend.rb
6_validations.rb Remove ignored circuit_breaker columns 2019-06-28 10:30:40 +02:00
7_prometheus_metrics.rb Fix metric files being wiped after the app starts 2019-08-12 13:52:15 +03:00
7_redis.rb
8_devise.rb Bump devise to 4.6 2019-05-21 16:56:27 +00:00
8_gitaly.rb
9_fast_gettext.rb
action_dispatch_http_mime_negotiation.rb Fix typos in the whole gitlab-ce project 2019-05-20 14:11:44 +00:00
action_mailer_hooks.rb
active_record_build_select.rb Fix project auto dev ops failure 2019-04-23 08:31:23 +08:00
active_record_data_types.rb Remove dead MySQL code 2019-07-23 16:53:03 +01:00
active_record_lifecycle.rb Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
active_record_preloader.rb Upgrade to Rails 5.2 2019-07-12 10:15:31 +08:00
active_record_query_cache.rb Use transactions in JS feature specs 2019-07-12 10:39:14 +08:00
active_record_schema_ignore_tables.rb
active_record_table_definition.rb
ar_speed_up_migration_checking.rb Upgrade to Rails 5.2 2019-07-12 10:15:31 +08:00
attr_encrypted_no_db_connection.rb
backtrace_silencers.rb
batch_loader.rb
bootstrap_form.rb
bullet.rb
chronic_duration.rb
config_initializers_active_record_locking.rb Upgrade to Rails 5.2 2019-07-12 10:15:31 +08:00
console_message.rb CE-EE parity for files in config/initializers 2019-07-08 15:04:38 -05:00
content_security_policy.rb Add support for Content-Security-Policy 2019-08-07 12:37:31 +10:00
cookies_serializer.rb
correlation_id.rb
date_time_formats.rb
default_url_options.rb
deprecations.rb Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
devise_password_length.rb.example
direct_upload_support.rb
doorkeeper.rb
doorkeeper_openid_connect.rb
elastic_client_setup.rb Add frozen_string_literal to EE files now in CE 2019-07-08 20:06:24 -05:00
etag_caching.rb
fill_shards.rb
fix_local_cache_middleware.rb
flipper.rb
fog_core_patch.rb
fog_google_https_private_urls.rb
forbid_sidekiq_in_transactions.rb Fix race in forbid_sidekiq_in_transactions.rb 2019-07-04 17:13:06 +02:00
geo.rb Add frozen_string_literal to EE files now in CE 2019-07-08 20:06:24 -05:00
gettext_rails_i18n_patch.rb Run rubocop -a on CE files 2019-05-05 03:24:28 -07:00
gitlab_shell_secret_token.rb
gitlab_workhorse_secret.rb
go_get.rb
graphql.rb
grpc.rb
hamlit.rb
health_check.rb CE-EE parity for files in config/initializers 2019-07-08 15:04:38 -05:00
hipchat_client_patch.rb Protect Gitlab::HTTP against DNS rebinding attack 2019-05-30 10:47:31 -03:00
http_hostname_override.rb Protect Gitlab::HTTP against DNS rebinding attack 2019-05-30 10:47:31 -03:00
httpclient_patch.rb Make httpclient respect system SSL configuration 2019-07-15 10:07:10 -07:00
jira.rb Replace 'JIRA' with 'Jira' 2019-06-28 13:25:56 +00:00
kaminari_active_record_relation_methods_with_limit.rb
kaminari_config.rb
load_balancing.rb Remove unneeded monkey-patch 2019-07-25 12:21:38 +08:00
lograge.rb Add Gitaly and Rugged call timing in Sidekiq logs 2019-08-09 01:08:32 -07:00
macos.rb
mime_types.rb
mini_magick.rb
new_framework_defaults.rb
octokit.rb Do not allow localhost url redirection in GitHub Integration 2019-07-05 15:09:04 +05:30
omniauth.rb
pages.rb
peek.rb Remove GC metrics from performance bar 2019-08-06 20:42:46 +01:00
postgresql_cte.rb Upgrade to Rails 5.2 2019-07-12 10:15:31 +08:00
postgresql_limit_fix.rb
premailer.rb
query_limiting.rb
rack_attack.rb.example
rack_attack_git_basic_auth.rb
rack_attack_global.rb
rack_attack_logging.rb Limit user information to RackAttack throttles 2019-07-09 03:58:49 +00:00
rack_lineprof.rb
rack_timeout.rb Enable puma by default in GDK 2019-07-09 23:31:32 +10:00
rbtrace.rb
relative_naming_ci_namespace.rb
relative_url.rb.sample
request_context.rb
request_profiler.rb
routing_draw.rb
rspec_profiling.rb
seed_fu.rb Add EE fixtures to SeedFu path 2019-05-10 20:21:12 +05:30
sentry.rb refactor: remove Sentry from application settings 2019-06-25 21:17:19 +02:00
server_uptime.rb
session_store.rb
sherlock.rb
sidekiq.rb Add Gitaly and Rugged call timing in Sidekiq logs 2019-08-09 01:08:32 -07:00
sidekiq_cluster.rb Add frozen_string_literal to EE files now in CE 2019-07-08 20:06:24 -05:00
smtp_settings.rb.sample
sprockets_base_file_digest_key.rb
static_files.rb
time_zone.rb
tracing.rb Migrate correlation and tracing code to LabKit 2019-04-18 09:57:16 +02:00
transaction_metrics.rb Adds metrics to measure database transactions 2019-06-28 12:46:51 +02:00
trusted_proxies.rb
warden.rb
workhorse_multipart.rb
wrap_parameters.rb
zz_metrics.rb Merge branch 'rs-zz-metrics' into 'master' 2019-07-17 17:48:33 +00:00