feat: introduce metrics/logs of when pipelining is being throttled (#4000)

* feat: introduce metrics/logs of when pipelining is being throttled

Fixes #3999 following up on discussion at #3997.
---------

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
Roman Gershman 2024-10-28 09:15:04 +02:00 committed by GitHub
parent 5dcad859b0
commit b0d52c69ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 78 additions and 64 deletions

View file

@ -31,7 +31,7 @@ ABSL_DECLARE_FLAG(string, dbfilename);
ABSL_DECLARE_FLAG(double, rss_oom_deny_ratio);
ABSL_DECLARE_FLAG(uint32_t, num_shards);
ABSL_FLAG(bool, force_epoll, false, "If true, uses epoll api instead iouring to run tests");
ABSL_DECLARE_FLAG(size_t, acllog_max_len);
ABSL_DECLARE_FLAG(uint32_t, acllog_max_len);
namespace dfly {
std::ostream& operator<<(std::ostream& os, const DbStats& stats) {