|
71 | 71 | // The props each derived integrity check is computed from, so every statement |
72 | 72 | // on the page is traceable to a real field in the API response. Keyed by the |
73 | 73 | // backend check id; "+7d grace" in the messages is a hardcoded constant. |
74 | | - // check_all_old_metrics_can_be_archived has no matching prop (the blocked-row |
75 | | - // count is computed server-side and not in the response), so it is omitted. |
| 74 | + // check_all_old_metrics_can_be_archived has no matching prop (the backend |
| 75 | + // always reports OK since un-archivable rows no longer exist), so it is omitted. |
76 | 76 | const checkProps: Record<string, string[]> = { |
77 | 77 | check_metrics_are_being_written: ["config.write_metrics"], |
78 | 78 | check_archive_scheduler_is_enabled: ["config.enable_metrics_scheduler"], |
79 | 79 | check_metric_retention_policy_is_respected: [ |
80 | 80 | "metric.oldest_record_age_days", |
81 | | - "config.retain_metrics_days_effective", |
| 81 | + "config.retain_metrics_days", |
82 | 82 | ], |
83 | 83 | check_archive_retention_policy_is_respected: [ |
84 | 84 | "metric_archive.oldest_record_age_days", |
85 | | - "config.retain_archive_metrics_days_effective", |
| 85 | + "config.retain_archive_metrics_days", |
86 | 86 | ], |
87 | 87 | check_archive_metrics_is_fresh_enough: [ |
88 | 88 | "metric.oldest_record_age_days", |
89 | 89 | "metric_archive.newest_record_age_days", |
90 | | - "config.retain_metrics_days_effective", |
| 90 | + "config.retain_metrics_days", |
91 | 91 | ], |
92 | 92 | check_last_archive_run_succeeded: [ |
93 | 93 | "last_run.success", |
|
0 commit comments