plugin-barman-cloud/internal/cnpgi/instance
Armando Ruocco 33172b6466
feat: add upstream backup and recovery metrics (#459)
Introduce two new Prometheus metrics sourced from the Barman Cloud plugin:

- `barman_cloud_cloudnative_pg_io_first_recoverability_point`
- `barman_cloud_cloudnative_pg_io_last_available_backup_timestamp`

These metrics supersede the following deprecated CNPG metrics:

- `cnpg_collector_first_recoverability_point`
- `cnpg_collector_last_available_backup_timestamp`

Depends on: https://github.com/cloudnative-pg/cloudnative-pg/pull/8033

Relates to: #380 

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2025-08-08 09:15:19 +10:00
..
internal/client fix: logic to retrieve ObjectStore from cache (#429) 2025-07-02 11:12:54 +02:00
backup.go feat: add upstream backup and recovery metrics (#459) 2025-08-08 09:15:19 +10:00
doc.go chore: makes linter happy (#17) 2024-10-01 11:54:07 +02:00
identity.go feat: add upstream backup and recovery metrics (#459) 2025-08-08 09:15:19 +10:00
manager.go feat: add upstream backup and recovery metrics (#459) 2025-08-08 09:15:19 +10:00
metrics_test.go feat: add upstream backup and recovery metrics (#459) 2025-08-08 09:15:19 +10:00
metrics.go feat: add upstream backup and recovery metrics (#459) 2025-08-08 09:15:19 +10:00
recovery_window.go feat: add upstream backup and recovery metrics (#459) 2025-08-08 09:15:19 +10:00
retention.go feat: add upstream backup and recovery metrics (#459) 2025-08-08 09:15:19 +10:00
start.go feat: add upstream backup and recovery metrics (#459) 2025-08-08 09:15:19 +10:00
suite_test.go feat: add upstream backup and recovery metrics (#459) 2025-08-08 09:15:19 +10:00
types.go feat: retention policy (#191) 2025-03-18 17:35:22 +01:00