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
1_postgresql_only.rb
01_secret_token.rb
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
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
8_gitaly.rb
9_fast_gettext.rb
action_dispatch_http_mime_negotiation.rb
action_mailer_hooks.rb
active_record_build_select.rb
active_record_data_types.rb
active_record_lifecycle.rb
active_record_preloader.rb
active_record_query_cache.rb
active_record_schema_ignore_tables.rb
active_record_table_definition.rb
ar_speed_up_migration_checking.rb
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
console_message.rb
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
devise_password_length.rb.example
direct_upload_support.rb
doorkeeper.rb
doorkeeper_openid_connect.rb
elastic_client_setup.rb
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
geo.rb
gettext_rails_i18n_patch.rb
gitlab_shell_secret_token.rb
gitlab_workhorse_secret.rb
go_get.rb
graphql.rb
grpc.rb
hamlit.rb
health_check.rb
hipchat_client_patch.rb
http_hostname_override.rb
httpclient_patch.rb
jira.rb
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
omniauth.rb
pages.rb
peek.rb Remove GC metrics from performance bar 2019-08-06 20:42:46 +01:00
postgresql_cte.rb
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
rack_lineprof.rb
rack_timeout.rb
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
sentry.rb
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
smtp_settings.rb.sample
sprockets_base_file_digest_key.rb
static_files.rb
time_zone.rb
tracing.rb
transaction_metrics.rb
trusted_proxies.rb
warden.rb
workhorse_multipart.rb
wrap_parameters.rb
zz_metrics.rb