Prometheus Metrics for Ruby Garbage Collection are wrong
Currently, the way we record Ruby GC stats is not working correctly.
This comes out of a discussion with @msmiley about why our ruby_gc_duration_seconds_total
metric (amongst others) does not have a worker
dimension. Which worker are we seeing the GC events taking place for? One specific one? Or all workers?
According to our metrics, our processes only record occasional GC events (ie every few hours). This is not possible and possibly indicates that our Ruby GC prometheus metrics are not working as expected.
Slack thread: https://gitlab.slack.com/archives/CB7P5CJS1/p1561111536271600?thread_ts=1561017355.155900&cid=CB7P5CJS1
Edited by 🤖 GitLab Bot 🤖