Description
Currently we expose throughput related metrics in each of the key-value processing layers : (CachedStore, SerialzedStore, RocksDbKeyValueStore, ...). We should also add metrics like:
- avg[Get/Put]LatencyMs
- p95th[Get/Put]LatencyMs
- p99th[Get/Put]LatencyMs
These numbers are useful to correctly reason about the performance of a stateful stream processor. This will also help in debugging the case of a slowdown.