mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Add Prometheus integration #60181
This commit is contained in:
committed by
Oliver Günther
parent
cbe01572e9
commit
d099ed1efa
@@ -28,6 +28,11 @@
|
||||
|
||||
# This file is used by Rack-based servers to start the application.
|
||||
|
||||
if ENV["OPENPROJECT_PROMETHEUS_EXPORT"] == "true"
|
||||
require "yabeda/prometheus/mmap"
|
||||
use Yabeda::Prometheus::Exporter
|
||||
end
|
||||
|
||||
require File.expand_path("config/environment", __dir__)
|
||||
|
||||
subdir = OpenProject::Configuration.rails_relative_url_root.presence
|
||||
|
||||
Reference in New Issue
Block a user