-
Notifications
You must be signed in to change notification settings - Fork 981
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add oom stats to /metrics (#2680)
* chore: add oom stats to /metrics Expose oom/cmd errors when we reject executing a command if we reached OOM state (controlled by oom_deny_ratio flag). Expose oom/insert errors when we do not insert a new key or do not grow a dashtable (controlled by table_growth_margin). Move OOM command check to a place that covers all types of transactions - including multi and squashing transactions. --------- Signed-off-by: Roman Gershman <roman@dragonflydb.io>
- Loading branch information
Showing
4 changed files
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters