summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-02 21:06:22 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-02 21:06:22 +0000
commit6d60f910762c1a92a07a4afaf1b26962f75ee4b6 (patch)
tree0a9ef6ccb20aa2099df33a409723eb912f8029e3 /config
parentde2ae3154f4ba1c23eeaa4ace41177ecd9b6005a (diff)
downloadgitlab-ce-6d60f910762c1a92a07a4afaf1b26962f75ee4b6.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r--config/initializers/0_inflections.rb1
-rw-r--r--config/initializers/7_prometheus_metrics.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/0_inflections.rb b/config/initializers/0_inflections.rb
index d317825c1b8..c0afa207ac3 100644
--- a/config/initializers/0_inflections.rb
+++ b/config/initializers/0_inflections.rb
@@ -20,6 +20,7 @@ ActiveSupport::Inflector.inflections do |inflect|
file_registry
job_artifact_registry
container_repository_registry
+ design_registry
vulnerability_feedback
vulnerabilities_feedback
group_view
diff --git a/config/initializers/7_prometheus_metrics.rb b/config/initializers/7_prometheus_metrics.rb
index 6bd2256ac0e..c55c14497b4 100644
--- a/config/initializers/7_prometheus_metrics.rb
+++ b/config/initializers/7_prometheus_metrics.rb
@@ -54,5 +54,7 @@ if !Rails.env.test? && Gitlab::Metrics.prometheus_metrics_enabled?
elsif defined?(::Puma)
Gitlab::Metrics::Samplers::PumaSampler.instance(Settings.monitoring.puma_sampler_interval).start
end
+
+ Gitlab::Metrics::RequestsRackMiddleware.initialize_http_request_duration_seconds
end
end