Skip to content

Fix ruby sampler metrics

Ben Kochie requested to merge bjk/48176_ruby_gc into master

What does this MR do?

Cleanup ruby sampler metrics

  • Use a simple counter for sampler duration instead of a histogram.
  • Use a counter to collect GC time.
  • Cleanup metric names to match Prometheus conventions.
  • Prefix generic GC stats with gc_stat.
  • Include worker label on memory and file descriptor metrics.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/48176

Edited by Yorick Peterse

Merge request reports