Hi,
I was just digging into exporter metrics and setted up grafana alert when puma workers goes below specific threshold. I have noticed strange behavior that puma_workers_total and puma_booted_workers_total are oscilating between zero and expected value.
My setup is
# puma/production.rb
after_worker_boot do
require 'prometheus_exporter/instrumentation'
PrometheusExporter::Instrumentation::Puma.start
end
On the other hand, monitoring of puma threads is always correct. Rails log / systemd log does not contain even warning message. Any idea where to look further, please?
Hi, I was just digging into exporter metrics and setted up grafana alert when puma workers goes below specific threshold. I have noticed strange behavior that
puma_workers_total
andpuma_booted_workers_total
are oscilating between zero and expected value.My setup is
env: puma (5.4.0) rails (6.1.4) prometheus_exporter (0.8.1) ruby 3.0.2
Resulting metrics looks like
On the other hand, monitoring of puma threads is always correct. Rails log / systemd log does not contain even warning message. Any idea where to look further, please?