Uploaded image for project: 'OpenShift Monitoring'
  1. OpenShift Monitoring
  2. MON-2217

Expose retention size settings for UWM Prometheus in the CMO configuration

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • Sprint 217

      We should introduce a new "retentionSize" field under the prometheus key. To keep things backward compatible, the existing "retention" field applies to time retention only.

      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: user-workload-monitoring-config
        namespace: openshift-user-workload-monitoring
      data:
        config.yaml: |
          prometheus:

            retention: 1y

            retentionSize: 10Gi

      For details see MON-2216.

      DoD

      • User can configure size-based retention in the CMO configuration which is applied to the UWM Prometheus.

              janantha@redhat.com Jayapriya Pai
              spasquie@redhat.com Simon Pasquier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: