Metrics latency v1.3
Hybrid Manager (HM) collects and displays a wide range of observability data to give you comprehensive visibility into your database clusters.
The refresh intervals for these metrics vary depending on the metric and database type. This difference is due to the varying methods of data collection and integration.
Understanding data latency
When you view your database metrics in the HM console, the data you see is the result of a two-step process, each with its own refresh interval. Understanding both steps will help you understand how up to date your metrics are.
Backend refresh: This is the first step, where HM's internal services actively collect updated metrics and data from your database clusters. Whether your cluster is managed by HM or an external database, the backend systems are constantly gathering the latest information. This data is then stored in HM's central data stores.
HM console refresh: This is the second step, where the HM console makes calls to your central data stores to retrieve the most recently collected data and display it to you.
The actual latency of the data you see in the HM console is a combination of these two refresh intervals. The data on the screen reflects information that isn't older than the sum of these two intervals. In many cases, it's much fresher, sometimes just seconds old.
Refresh intervals
Backend refresh: HM's internal services update the data stores as follows. The interval varies depending on the database cluster type and the metrics context.
| HM-managed | External: self-managed | External: CSP-managed | External: EDB CNPG | |
|---|---|---|---|---|
| Estate page ► Postgres table | 20s | 5m | 5m | 5m |
| Cluster view ► Monitoring tab | 15s | 15s | 30s | 15s |
| Cluster view ► Query Diagnostics tab | 1m | 1m | na | 1m |
| Cluster view ► Recommendations tab | 30m | 30m | na | 30m |
| Cluster view ► Logs tab | <1s | <1s | na | <1s |
These intervals are configurable for self-managed and CSP-managed clusters. To customize the frequency of data collection for self-managed clusters, define the intervals in the HM agent configuration YAML. In the case of CSP-managed clusters, define the intervals for the supported metrics through the beacon-csp-credentials configuration.
HM console refresh: The HM console updates the data for all cluster types with the following frequency.
| Console refresh interval | |
|---|---|
| Estate page ► Postgres table | 1m |
| Cluster view ► Monitoring tab | 30s |
| Cluster view ► Query Diagnostics tab | Manual browser refresh (*) |
| Cluster view ► Recommendations tab | Manual browser refresh (*) |
| Cluster view ► Logs tab | 10s |
Note
(*) Data is updated only when you explicitly reload the browser page.
- On this page
- Understanding data latency
- Refresh intervals