Skip to content

Commit dbfa19a

Browse files
committed
getting rid of effective (was confusing)
1 parent fce4d73 commit dbfa19a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • apps/api-manager/src/routes/(protected)/metrics-diagnostics

apps/api-manager/src/routes/(protected)/metrics-diagnostics/+page.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,23 +71,23 @@
7171
// The props each derived integrity check is computed from, so every statement
7272
// on the page is traceable to a real field in the API response. Keyed by the
7373
// 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.
7676
const checkProps: Record<string, string[]> = {
7777
check_metrics_are_being_written: ["config.write_metrics"],
7878
check_archive_scheduler_is_enabled: ["config.enable_metrics_scheduler"],
7979
check_metric_retention_policy_is_respected: [
8080
"metric.oldest_record_age_days",
81-
"config.retain_metrics_days_effective",
81+
"config.retain_metrics_days",
8282
],
8383
check_archive_retention_policy_is_respected: [
8484
"metric_archive.oldest_record_age_days",
85-
"config.retain_archive_metrics_days_effective",
85+
"config.retain_archive_metrics_days",
8686
],
8787
check_archive_metrics_is_fresh_enough: [
8888
"metric.oldest_record_age_days",
8989
"metric_archive.newest_record_age_days",
90-
"config.retain_metrics_days_effective",
90+
"config.retain_metrics_days",
9191
],
9292
check_last_archive_run_succeeded: [
9393
"last_run.success",

0 commit comments

Comments
 (0)