From 2c12d1b9e780def3a311d0351fab3366584e15a6 Mon Sep 17 00:00:00 2001 From: Til Blechschmidt Date: Fri, 19 Mar 2021 22:30:27 +0100 Subject: [PATCH] :memo: Document storage metrics keys --- docs/architecture/database.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/architecture/database.md b/docs/architecture/database.md index ebac4112..5154de0b 100644 --- a/docs/architecture/database.md +++ b/docs/architecture/database.md @@ -201,7 +201,7 @@ During the lifecycle of a session each component generates status codes for trac } ``` -#### Slots +#### Orchestrator ```javascript `metrics:slots:reclaimed.total` = Hashes { dead = number @@ -209,6 +209,17 @@ During the lifecycle of a session each component generates status codes for trac } ``` +#### Storage +```javascript +`metrics:storage:disk.bytes.total` = Hashes { + = number +} + +`metrics:storage:disk.bytes.used` = Hashes { + = number +} +``` + ## Garbage collection Special considerations have been taken to ensure that most keys expire on their own (e.g. active manager/storage/api metadata). Those that do not expire on their own (e.g. sessions) will be purged by a dedicated garbage collector service. \ No newline at end of file