discourse / prometheus_exporter

A framework for collecting and aggregating prometheus metrics
MIT License
525 stars 153 forks source link

Exporter fails after 1-3 weeks #309

Open fatsolko opened 4 months ago

fatsolko commented 4 months ago

Exporter version is 2.1.0

ps x -o rss,vsz,command | grep prometheus_exporter
336540 521076 ruby /srv/shared/bundle/ruby/2.7.0/bin/prometheus_exporter --bind 0.0.0.0
 2404   6388 grep prometheus_exporter

 curl localhost:9394/metrics
# HELP ruby_collector_working Is the master process collector able to collect metrics
# TYPE ruby_collector_working gauge
ruby_collector_working 0

# HELP ruby_collector_rss total memory used by collector process
# TYPE ruby_collector_rss gauge
ruby_collector_rss 355258368

# HELP ruby_collector_metrics_total Total metrics processed by exporter web.
# TYPE ruby_collector_metrics_total counter
ruby_collector_metrics_total 66254040

# HELP ruby_collector_sessions_total Total send_metric sessions processed by exporter web.
# TYPE ruby_collector_sessions_total counter
ruby_collector_sessions_total 3247033

# HELP ruby_collector_bad_metrics_total Total mis-handled metrics by collector.
# TYPE ruby_collector_bad_metrics_total counter
ruby_collector_bad_metrics_total 0
benoittgt commented 2 months ago

Hello

Could you please provide more infos?

fatsolko commented 2 months ago

Hello

Could you please provide more infos?

which info do you need?

benoittgt commented 2 months ago

Any stack-trace?