Prometheus metrics spew error messages to production.log
Production logs are spewing an inordinate number of messages:
Upon further investigation, we see these errors:
writing value to /run/gitlab/unicorn/histogram_worker_id_5-22.db failed with undefined method `+' for nil:NilClass
writing value to /run/gitlab/unicorn/histogram_worker_id_5-22.db failed with undefined method `+' for nil:NilClass
writing value to /run/gitlab/unicorn/counter_worker_id_5-5.db failed with undefined method `+' for nil:NilClass
writing value to /run/gitlab/unicorn/counter_worker_id_5-1.db failed with undefined method `+' for nil:NilClass
We should disable Prometheus metrics until this is solved.
https://gitlab.slack.com/files/U06D8A8TG/F7RK117LP/web-01-data.zip contains the .db files relevant to this.
/cc: @bjk-gitlab, @joshlambert, @pchojnacki, @briann
Edited by Stan Hu