Parameterize monitoring data retention by plan

Summary

  • parameterize VictoriaMetrics retention through VM_RETENTION_PERIOD
  • pass QUERYID_RETENTION_HOURS into the monitoring Flask backend
  • document defaults and suggested short/long retention values in .env.example
  • add CI coverage for default, override, bare-integer, long-retention, and empty-fallback Docker Compose render behavior
  • preserve existing VictoriaMetrics safety flags, including -search.maxQueryDuration=30s
  • pass VM_RETENTION_PERIOD through the service environment and reference it inside the inline shell with quoting

Why

Monitoring retention needs to vary by plan while preserving the current defaults for existing Docker Compose deployments.

Closes #184 (closed) Related to #14

Validation

Current Gates

Edited by Maya P

Merge request reports

Loading