RocksLabs / kvrocks_exporter

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

About connected_slave_lag_seconds metric #30

Closed rizkymma closed 1 month ago

rizkymma commented 1 month ago

Hi,

According to https://github.com/apache/kvrocks/discussions/1504, it was not actually 'seconds' but it represents the write sequence gap.

Could someone confirm this?

https://github.com/RocksLabs/kvrocks_exporter/blob/013564909cb969fcd3c44a080d7f320cc6ad5796/exporter/info.go#L240

Thanks.

git-hulk commented 1 month ago

@rizkymma Yes, you're right. The connected_slave_lag_seconds represents the gap of the write sequence if Kvrocks.

rizkymma commented 1 month ago

Got it, thanks