mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
feat: expose tx_queue_len metric (#2330)
This metric shows how much the transaction queue of dragonfly is loaded. Also, output free text, human intended replies as verbatim. Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
f90317a795
commit
8bd43497f2
4 changed files with 18 additions and 13 deletions
|
@ -149,7 +149,7 @@ void MemoryCmd::Run(CmdArgList args) {
|
|||
string res = shard_set->pool()->at(tid)->AwaitBrief([=] { return MallocStats(backing, tid); });
|
||||
|
||||
auto* rb = static_cast<RedisReplyBuilder*>(cntx_->reply_builder());
|
||||
return rb->SendBulkString(res);
|
||||
return rb->SendVerbatimString(res);
|
||||
}
|
||||
|
||||
string err = UnknownSubCmd(sub_cmd, "MEMORY");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue