plugin-barman-cloud/web/docs/observability.md
Gabriele Bartolini e8af4fcd93 docs: clarify observability metrics and migration to plugin-based metrics
Improved the "Observability" section to better describe the Prometheus
metrics exposed by the Barman Cloud Plugin via the instance manager.
Added a mapping table in the "Verify your metrics" step to show the transition
from in-core metrics (`cnpg_collector_*`) to the new plugin-based metrics
(`barman_cloud_cloudnative_pg_io_*`).

Closes #473

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
2025-10-27 11:37:45 +01:00

25 lines
831 B
Markdown

---
sidebar_position: 55
---
# Observability
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
The Barman Cloud Plugin exposes the following metrics through the native
Prometheus exporter of the instance manager:
- `barman_cloud_cloudnative_pg_io_last_failed_backup_timestamp`:
the UNIX timestamp of the most recent failed backup.
- `barman_cloud_cloudnative_pg_io_last_available_backup_timestamp`:
the UNIX timestamp of the most recent successfully available backup.
- `barman_cloud_cloudnative_pg_io_first_recoverability_point`:
the UNIX timestamp representing the earliest point in time from which the
cluster can be recovered.
These metrics supersede the previously available in-core metrics that used the
`cnpg_collector` prefix. The new metrics are exposed under the
`barman_cloud_cloudnative_pg_io` prefix instead.