Fix syntax tree errors on main branch (#342)
This commit is contained in:
parent
8e3c307fb6
commit
d6084535f4
|
|
@ -13,8 +13,11 @@ module PrometheusExporter::Server
|
|||
max_threads: "Number of puma threads at available at max scale.",
|
||||
}
|
||||
|
||||
if defined?(::Puma::Const) && Gem::Version.new(::Puma::Const::VERSION) >= Gem::Version.new('6.6.0')
|
||||
PUMA_GAUGES[:busy_threads] = "Wholistic stat reflecting the overall current state of work to be done and the capacity to do it"
|
||||
if defined?(::Puma::Const) &&
|
||||
Gem::Version.new(::Puma::Const::VERSION) >= Gem::Version.new("6.6.0")
|
||||
PUMA_GAUGES[
|
||||
:busy_threads
|
||||
] = "Wholistic stat reflecting the overall current state of work to be done and the capacity to do it"
|
||||
end
|
||||
|
||||
def initialize
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ unless defined?(::Puma)
|
|||
end
|
||||
|
||||
def self.stats
|
||||
'{}'
|
||||
"{}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue