enhance utilisation of postgres features
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-20 10:19:27 +10:00
parent 98e92a8264
commit 8ccf5a7009
28 changed files with 2836 additions and 422 deletions
+8 -1
View File
@@ -49,11 +49,18 @@ settings:
snapshot_cleanup_cron: "30 2 * * *"
hourly_snapshot_retry_seconds: 300
hourly_snapshot_max_retries: 3
capture_write_batch_size: 1000
snapshot_table_compat_mode: true
async_report_generation: true
# Postgres-only: when true, vm_hourly_stats is migrated/managed as monthly range partitions.
postgres_vm_hourly_partitioning_enabled: false
# Scheduled aggregation engine: go (default) or sql (canonical Postgres SQL path rollout flag).
scheduled_aggregation_engine: "go"
hourly_job_timeout_seconds: 1200
hourly_snapshot_timeout_seconds: 600
daily_job_timeout_seconds: 900
monthly_job_timeout_seconds: 1200
monthly_aggregation_granularity: "hourly"
monthly_aggregation_granularity: "daily"
monthly_aggregation_cron: "10 3 1 * *"
# Optional: override Summary worksheet pivot layout in daily/monthly XLSX reports.
# metric values: avg_vcpu, avg_ram, prorated_vm_count, vm_name_count