Skip to content

Memory Diagnostic Reports: Adjust logs label, Fix Prom counter type

Aleksei Lipniagov requested to merge 362900-diag-reports-followups into master

What does this MR do and why?

This is a follow-up for !91283 (merged):

  1. Adds a prefix to a component-specific label report. It will increase the clarity of the records.
  2. Fixes the gitlab_diag_report_duration_seconds_total counter update value (Int -> Float) for a better precision.

How to set up and validate locally

First, you need to set it up similar to !91283 (merged).

  1. For log changes: tail -f log/application_json.log
  2. For metric fix visit http://localhost:3000/-/metrics and note it is Float

MR acceptance checklist

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

Related to #362900 (closed)

Edited by Aleksei Lipniagov

Merge request reports