BigW Consortium Gitlab

Commit 11d1876f by Winnie Hellmann

Resolve conflict in config/initializers/7_prometheus_metrics.rb

parent 2c799569
......@@ -11,19 +11,7 @@ Prometheus::Client.configure do |config|
config.multiprocess_files_dir ||= Rails.root.join('tmp/prometheus_multiproc_dir')
end
<<<<<<< HEAD
config.pid_provider = -> do
wid = Prometheus::Client::Support::Unicorn.worker_id
wid = Process.pid if wid.nil?
if wid.nil?
"process_pid_#{Process.pid}"
else
"worker_id_#{wid}"
end
end
=======
config.pid_provider = Prometheus::Client::Support::Unicorn.method(:worker_pid_provider)
>>>>>>> aa24f7e1ab... Merge branch 'pawel/update-prometheus_gem_to_highly_optimized_version' into 'master'
end
Sidekiq.configure_server do |config|
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment