Skip to content

Commit 7405faa

Browse files
authored
Merge branch 'master' into doc-1032
2 parents 6da9651 + cf94e6f commit 7405faa

File tree

3 files changed

+50
-16
lines changed

3 files changed

+50
-16
lines changed

docs/user-guide/Infrastructure-monitoring/introduction-to-prometheus/prometheus-getting-started.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,4 @@ For the record, notification endpoints and dashboard annotations are not importe
3636
1. [Import dashboards](/docs/user-guide/Infrastructure-monitoring/introduction-to-prometheus/importing-dashboards).
3737
1. [Configure notification endpoints](/docs/user-guide/integrations/notification-endpoints/endpoints).
3838
1. [Recreate your dashboard annotations](/docs/user-guide/infrastructure-monitoring/log-correlations/annotations/).
39-
1. [Explore your Prometheus metrics](/docs/user-guide/Infrastructure-monitoring/introduction-to-prometheus/explore-metrics-prometheusZ).
40-
41-
42-
43-
44-
<!--
45-
1. Highlight the value:
46-
Hosted, managed & enterprise grade - Secured, user management etc..
47-
Full system view
48-
Long retention (Will be coming later)
49-
Integrated to the logs management and tracing.
50-
51-
2. Highlight the simplicity in shipping the metrics as well what it means on their environment: - They will be able to reduce their retention.
52-
implication from resource standpoint : It will require more CPU and memory
53-
-->
39+
1. [Explore your Prometheus metrics](/docs/user-guide/Infrastructure-monitoring/introduction-to-prometheus/explore-metrics-prometheusZ).
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
sidebar_position: 10
3+
title: How Logz.io Stores Prometheus Metrics
4+
description: Learn how Logz.io stores Prometheus metrics
5+
image: https://dytvr9ot2sszz.cloudfront.net/logz-docs/social-assets/docs-social.jpg
6+
keywords: [metrics, infrastructure monitoring, Prometheus, monitoring, observability, logz.io, downsampling, data retention, query performance]
7+
noindex: true
8+
---
9+
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.
11+
12+
## Why use multiple resolutions?
13+
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.
15+
16+
## What is downsampling?
17+
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.
19+
20+
This process happens in two phases:
21+
22+
| Metric age | Stored resolution | Available aggregations |
23+
| -- | -- | -- |
24+
| 0–40 hours | Raw (scrape rate) | All raw samples |
25+
| 40h–10 days | 5 minutes | Count, sum, min, max, counter |
26+
| 10 days and up | 1 hour | Count, sum, min, max, counter |
27+
28+
:::note
29+
Downsampling is automatic and helps improve query performance for large time ranges.
30+
:::
31+
32+
## What does this mean for your queries?
33+
34+
The resolution used depends on your selected time range:
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
39+
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+
42+
This ensures a balance between detailed visibility and high-speed queries.
43+
44+
## Can I disable downsampling?
45+
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.

docs/user-guide/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"type": "generated-index",
66
"description": "User Guide for Logz.io."
77
},
8-
className: 'section-title.tutorial'
8+
"className": "section-title.tutorial"
99
}

0 commit comments

Comments
 (0)