Custom retention

Customizing the retention of logs, metrics, and traces allows you to strike a balance between having sufficient data for analysis and observability, and managing your cloud costs, system performance, and data compliance aspects associated with data storage.

To customize the retention of logs, metrics and traces on the groundcover platform, follow these steps:

  • Either create a new custom-values.yaml or edit your existing values.yaml with the override below:

Traces

global:
  traces:
    retention: 24h # {amount}[h(ours), d(ays), w(eeks), y(ears)]

Metrics

victoria-metrics-single:
  server:
    retentionPeriod: 7d # {amount}[h(ours), d(ays), w(eeks), y(ears)]

Logs

global:
  logs:
    retention: 3d # {amount}[h(ours), d(ays), w(eeks), y(ears)]

Events

global:
  events:
    retention: 7d # {amount}[h(ours), d(ays), w(eeks), y(ears)]

Last updated