You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logz.io stores your Prometheus metrics in multiple resolutions to ensure fast performance for long time ranges while keeping the precision needed for troubleshooting.
10
+
Logz.io stores your Prometheus metrics in multiple resolutions to ensure fast performance for long time ranges while preserving the precision needed for troubleshooting.
10
11
11
12
## Why use multiple resolutions?
12
13
13
-
Storing every single data point (raw metrics) over a long period can slow down queries and increase storage requirements. To avoid this, Logz.io automatically summarizes older data using aggregation techniques. This provides fast queries for historical views while maintaining accuracy for shorter time ranges.
14
+
Storing every single data point (raw metrics) over long periods can slow down queries. To avoid this, Logz.io automatically summarizes older data using aggregation techniques. This allows for fast historical queries without compromising accuracy for recent data.
14
15
15
16
## What is downsampling?
16
17
17
-
Downsampling means storing fewer data points over time by summarizing raw metrics. Instead of keeping every scrape, Logz.io keeps statistical summaries like count, sum, min, max, and counter at set intervals.
18
+
Downsampling means storing fewer data points over time by summarizing raw metrics. Instead of keeping every scrape, Logz.io stores statistical summaries like count, sum, min, max, and counter at set intervals.
18
19
19
20
This process happens in two phases:
20
21
21
-
22
22
| Metric age | Stored resolution | Available aggregations |
23
23
| -- | -- | -- |
24
24
| 0–40 hours | Raw (scrape rate) | All raw samples |
| 10 days and up | 1 hour | Count, sum, min, max, counter |
27
27
28
28
:::note
29
-
This process doesn’t save storage space; it actually creates additional summarized datasets. The goal is to improve query speed for large time ranges.
29
+
Downsampling is automatic and helps improve query performance for large time ranges.
30
30
:::
31
31
32
32
## What does this mean for your queries?
33
33
34
34
The resolution used depends on your selected time range:
35
35
36
-
***Last 40 hours or less** - Uses raw data
37
-
***40 hours to 10 days** - Uses 5-minute summaries
38
-
***10 days or more** - Uses 1-hour summaries
36
+
* Last 40 hours or less - Uses raw data
37
+
* 40 hours to 10 days - Uses 5-minute summaries
38
+
* 10 days or more - Uses 1-hour summaries
39
39
40
40
For example, if you view a chart showing 30 days of data, the system will use the 1-hour resolution. If you zoom in to the last 6 hours, it will automatically switch to raw data.
41
41
42
-
This ensures a balance between detailed insights and high performance.
42
+
This ensures a balance between detailed visibility and high-speed queries.
43
43
44
44
## Can I disable downsampling?
45
45
46
-
Downsampling is always enabled in Logz.io. If you want access to raw data from older time ranges (For example, a spike from 30 days ago), make sure your raw metric retention covers that period. Otherwise, only the summarized version will be available.
46
+
Downsampling is always enabled in Logz.io to ensure optimal performance across different time ranges. Raw data is retained for 30 days. After that, only the downsampled summaries are available.
47
+
48
+
If you need to investigate a specific event (like a spike) that occurred more than 30 days ago, the summarized data will provide a high-level view, but raw-level granularity won’t be available.
0 commit comments