Skip to content

Update prometheus mmap client library to fix performance issues when rendering many metrics.

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?

What are the relevant issue numbers?

related to gitlab-com/infrastructure#2504

cc: @stanhu

Edited by Stan Hu

Merge request reports