Closed hannan228 closed 2 years ago
This is because of Prometheus Ruby client stores metrics in memory and every process has its own set of metrics.
In development, you can fix it by
Note that processes must be able to access common disk and/or memory, so this won't work in containerized environments.
See https://github.com/yabeda-rb/yabeda-prometheus/issues/4 for more details
Hi, first thanks for the work you put into this project.
I am using Yabeda for collecting rails, puma and sidekiq metrics. Rails and puma's metrics are showing on rails default server port:3000 but sidekiq metrics are not showing accurately just main heading showing. sidekiq metrics are showing metrics after adding additional configuration in config/initializers/sidekiq but on Prometheus default port:9394 accurately.
How i can configure its port for rails server as configured for puma and rails. How i can change this following code to get on rails server.
`# config/initializers/sidekiq or elsewhere
Sidekiq.configure_server do |_config| Yabeda::Prometheus::Exporter.start_metrics_server! end` This what I am getting on default server
This what I am getting on configured port. I need this types of result on rails:3000 port