RocksLabs / kvrocks_exporter

Prometheus Exporter for Kvrocks Metrics
MIT License
27 stars 16 forks source link

Improve keyspace parsing with expired keys #32

Closed kinoute closed 1 month ago

kinoute commented 1 month ago

The keyspace parsing was not working anymore due to the "Last dbsize scan" sentence that we try to catch. It has changed in Kvrocks (new word, caps lock etc) and it wasn't catch anymore by the exporter conditions.

I also added support for the number of "expired keys".

We can edit the Grafana dashboard here to add the new metric db_keys_expired. I did it on my Grafana:

Screenshot 2024-08-09 à 20 49 10