more index cleanups to optimise space
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-02-08 15:40:42 +11:00
parent a993aedf79
commit c66679a71f
13 changed files with 590 additions and 61 deletions

View File

@@ -2,6 +2,8 @@ settings:
log_level: "info"
log_output: "text"
database_driver: "sqlite"
# PostgreSQL remains experimental and is disabled by default.
enable_experimental_postgres: false
database_url: "/var/lib/vctp/db.sqlite3"
reports_dir: /var/lib/vctp/reports
bind_ip:
@@ -9,9 +11,14 @@ settings:
bind_disable_tls: false
tls_cert_filename: "/var/lib/vctp/vctp.crt"
tls_key_filename: "/var/lib/vctp/vctp.key"
# Optional explicit key source for credential encryption/decryption.
# Leave empty to use host-derived key material.
encryption_key: ""
vcenter_username: ""
vcenter_password: ""
vcenter_insecure: false
# Legacy API endpoints are disabled by default.
enable_legacy_api: false
# Deprecated (ignored): legacy event poller
vcenter_event_polling_seconds: 0
# Deprecated (ignored): legacy inventory poller
@@ -21,6 +28,9 @@ settings:
hourly_snapshot_concurrency: 0
hourly_snapshot_max_age_days: 60
daily_snapshot_max_age_months: 12
# Retain hourly-table indexes only for recent data.
# -1 disables index cleanup; 0 trims indexes from all hourly tables.
hourly_index_max_age_days: 7
snapshot_cleanup_cron: "30 2 * * *"
hourly_snapshot_retry_seconds: 300
hourly_snapshot_max_retries: 3