Skip to content

Feature Flag: Add FF for Rust metrics marshaling

Will Chandler (ex-GitLab) requested to merge wc/prom-metrics-rust-ff into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Feature Flag: Add FF for Rust metrics marshaling

With !118407 (merged) merged v0.21.0 of prometheus-client-mmap is now available to GitLab. This includes the reimplementation of Prometheus::Client::Formats::Text.marshal_multiprocess which should be significantly faster.

Add a feature flag to enable us to start using the Rust version.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Will Chandler (ex-GitLab)

Merge request reports