summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Valente <82235632+hugovalente-pm@users.noreply.github.com>2024-04-08 19:16:41 +0100
committerGitHub <noreply@github.com>2024-04-08 19:16:41 +0100
commitde64f16280cb6fe7f68ef0a1dd049e4d57e5c6c6 (patch)
treea3c15dcab817d5e87fe9a92e655865f7c003c279
parent38c8d1df8ecfecb10a8064be4ed8926c5bc37071 (diff)
review the example values
based on https://learn.netdata.cloud/docs/netdata-agent/sizing-netdata-agents/disk-requirements-&-retention
-rw-r--r--docs/store/change-metrics-storage.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/store/change-metrics-storage.md b/docs/store/change-metrics-storage.md
index 133d6ca260..9b305883ac 100644
--- a/docs/store/change-metrics-storage.md
+++ b/docs/store/change-metrics-storage.md
@@ -49,7 +49,7 @@ the `update every iterations` of the tiers, to stay under the limit.
The exact retention that can be achieved by each tier depends on the number of metrics collected. The more
the metrics, the smaller the retention that will fit in a given size. The general rule is that Netdata needs
-about **1 byte per data point on disk for tier 0**, and **4 bytes per data point on disk for tier 1 and above**.
+about **1 byte per data point on disk for tier 0**, and **6 bytes per data point on disk for tier 1** and **18 bytes per data point on disk for tier 2 and above**.
So, for 1000 metrics collected per second and 256 MB for tier 0, Netdata will store about:
@@ -60,13 +60,13 @@ So, for 1000 metrics collected per second and 256 MB for tier 0, Netdata will st
At tier 1 (per minute):
```
-128MB on disk / 4 bytes per point / 1000 metrics => 32k points per metric / (24 hr * 60 min) ~= 22 days
+128MB on disk / 6 bytes per point / 1000 metrics => 21k points per metric / (24 hr * 60 min) ~= 15 days
```
At tier 2 (per hour):
```
-64MB on disk / 4 bytes per point / 1000 metrics => 16k points per metric / 24 hr per day ~= 2 years
+64MB on disk / 16 bytes per point / 1000 metrics => 4k points per metric / 24 hr per day ~= 0.5 years
```
Of course double the metrics, half the retention. There are more factors that affect retention. The number