bob
bob copied to clipboard
Bob's RPS value doesn't drop over time
Description
Currently, Bob's RPS value doesn't drop over time and stuck to last recorded value. This includes per node RPS metric and cluster-wise RPS metric.
To Reproduce
- Start BOB cluster
- Start
bobptool to write into cluster - Request metrics from bob
Screenshots
Problematic code here: https://github.com/qoollo/bob/blob/master/bob-common/src/metrics/exporters/global_exporter/rate_processor.rs
It should be resolved during metrics refactoring. Related issues: https://github.com/qoollo/bob/issues/628 and https://github.com/qoollo/bob/issues/689