docs(pitr): the plugin path is real — transcript, layout, metrics, 1.31 gate closed
Documents what the live migration actually produced (kanban t_5df331de): - §8.3: restore manifest is externalClusters[].plugin + barmanObjectName/ serverName, with the 2026-11-19 rehearsal transcript (marker 23:04:53.07, target 23:05:00Z, poison 23:05:15.80 -> marker present, poison gone). - §8.4 (new): how the plugin is wired — vendored manifest, Service-annotation registration, cert-manager dependency, ObjectStore/ScheduledBackup shape, the injected init-sidecar, and the metrics family change. - §8.1/§5.1: producer is the plugin; retention moved to the ObjectStore; the "1.31 is a hard gate" caveat is replaced by "gate closed". - §9/§10 + namespace table: cert-manager and barman-cloud are live state now, with the verification log rows. - pitr-restore.md rewritten for the plugin (manifest, sidecar log evidence, the two-servers-name trap, retention location). - CNPG dashboard: the `or` now prefers the plugin's metric — the legacy cnpg_collector series still holds the PRE-migration timestamp.
This commit is contained in:
parent
c45255242b
commit
4c90eba08b
5 changed files with 224 additions and 105 deletions
|
|
@ -423,7 +423,7 @@ data:
|
|||
"id": 29,
|
||||
"type": "stat",
|
||||
"title": "Last available backup",
|
||||
"description": "0 = never. sirius-growth/portal archives through the CNPG-I Barman Cloud plugin, which exposes its own metric family `barman_cloud_cloudnative_pg_io_*`; the in-tree `cnpg_collector_*` name is kept in the `or` for any cluster still on the deprecated path. A 0 means neither series exists.",
|
||||
"description": "0 = never. sirius-growth/portal archives through the CNPG-I Barman Cloud plugin, whose metric is `barman_cloud_cloudnative_pg_io_last_available_backup_timestamp`; the deprecated `cnpg_collector_*` name is the fallback for any cluster still on the in-tree path. Order matters: the legacy series is still scraped for portal and holds the PRE-migration timestamp, so it must not win the `or`.",
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "prometheus"
|
||||
|
|
@ -440,7 +440,7 @@ data:
|
|||
"type": "prometheus",
|
||||
"uid": "prometheus"
|
||||
},
|
||||
"expr": "max by (namespace) (cnpg_collector_last_available_backup_timestamp{namespace=~\"$namespace\"} or barman_cloud_cloudnative_pg_io_last_available_backup_timestamp{namespace=~\"$namespace\"})",
|
||||
"expr": "max by (namespace) (barman_cloud_cloudnative_pg_io_last_available_backup_timestamp{namespace=~\"$namespace\"} or cnpg_collector_last_available_backup_timestamp{namespace=~\"$namespace\"})",
|
||||
"refId": "A",
|
||||
"editorMode": "code",
|
||||
"range": true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue