[meta] Add metrics instrumentation to GitLab Internals (#28465) · Issues · GitLab.org / GitLab FOSS · GitLab (original) (raw)

Skip to content

[meta] Add metrics instrumentation to GitLab Internals

Need

In order to measure performance improvements for https://gitlab.com/gitlab-org/gitlab-ce/issues/26789 we need to add Prometheus metrics endpoints and instrument the code to provide stats.

Approach

There are a number of existing metrics sources and there are some gaps. We first need to identifiy the gaps.

Benefit

Adding instrumentation with Prometheus provides us the ability to measure our performance gains, and alert on performance degradation.

Competition

Some other approaches are possible, and may be useful as temporary stop-gaps until native support is completed.