run-as-root / magento2-prometheus-exporter

Simple Magento 2 Prometheus Exporter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Metric Indexer Backlog collects wrong information

DavidLambauer opened this issue · comments

Currently, the indexer backlog metric counts the number of items in the backlog based on weird version id ranges. This can lead to wrong data and should be changed to counting the specific items in the _cl tables.

Hey @swnsma , as discussed earlier this day, the current implementation of this metric seem to be a bit flaky. Instead of checking the mview of the indexer, we should rather check all _cl-Tables that are available in the Database.