run-as-root / magento2-prometheus-exporter

Simple Magento 2 Prometheus Exporter.
MIT License
62 stars 20 forks source link

Metric Indexer Backlog collects wrong information #30

Closed DavidLambauer closed 2 years ago

DavidLambauer commented 2 years ago

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.

DavidLambauer commented 2 years ago

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.