Update prometheus mmap client library to fix performance issues when rendering many metrics.
requested to merge pawel/update_prometheus_client_gem_to_improve_performance_when_rendering_metrics into master
What does this MR do?
It introduces mmap client version that improves performance in deserialization of metrics.
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
Performance of metrics endpoint degrades overtime, this change improves the performance of preprocessing metrics 10x.
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
- Review
-
Has been reviewed by Backend
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together
What are the relevant issue numbers?
related to gitlab-com/infrastructure#2504
cc: @stanhu
Edited by Stan Hu