Skip to content

Resolve "Service ping integration - Index inconsistencies"

Diogo Frazão requested to merge 390273-service-ping-integration-indexes into master

What does this MR do and why?

This merge request aims to collect a list of missing indexes via service ping.

To generate the files I have used the following commands:

bin/rails generate gitlab:usage_metric IndexInconsistencies --type generic
bin/rails generate gitlab:usage_metric_definition index_inconsistencies_metric --class_name=IndexInconsistenciesMetric --dir=settings

The IndexInconsistenciesMetric returns a array of hashes. Example:

[
  {
     object_name: 'index_1', type: 'wrong_index',
     object_name: 'index_2', type: 'missing_index',
     ....
  }
]

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 #390273 (closed)

Edited by Diogo Frazão

Merge request reports

Loading