Skip to content
Snippets Groups Projects
Verified Commit 1523d005 authored by anarcat's avatar anarcat
Browse files

sample long term storage calculations

parent dbfcf854
No related branches found
No related tags found
No related merge requests found
......@@ -913,6 +913,25 @@ That might be a bit aggressive though: the default Prometheus
30GiB disk usage, which makes for a quite reasonable and easy to
replicate primary server.
A few more samples calculations:
| Frequency | Retention period | Storage used |
|-----------|------------------|--------------|
| 5 second| 30 days| 100 GiB|
| 15 second| 30 days| 20 GiB|
| 15 second| 1 year| 240 GiB|
| 5 min| 1 year| 12 GiB|
| 5 min| 5 year| 60 GiB|
| 5 min| 10 year| 120 GiB|
| 15 min| 1 year| 4 GiB|
| 15 min| 5 year| 20 GiB|
| 15 min| 10 year| 40 GiB|
| 15 min| 100 year| 400 GiB|
| 1 hour| 1 year| 1 GiB|
| 1 hour| 5 year| 5 GiB|
| 1 hour| 10 year| 10 GiB|
| 1 hour| 100 year| 100 GiB|
Another option would be to use another backend for prometheus metrics,
something like [TimescaleDB](https://www.timescale.com), see [this blog post](https://blog.timescale.com/blog/sql-nosql-data-storage-for-prometheus-devops-monitoring-postgresql-timescaledb-time-series-3cde27fd1e07/) for more
information.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment