Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-42148

default thanos-ruler retention time should be 24h, not 15d in api.md

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.17.0, 4.18.0
    • Monitoring
    • Low
    • None
    • MON Sprint 261
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      checked in 4.17.0-0.nightly-2024-09-18-003538, default thanos-ruler retention time is 24h, not 15d mentioned in https://github.com/openshift/cluster-monitoring-operator/blob/release-4.17/Documentation/api.md#thanosrulerconfig, the issue exists in 4.12+

      $ for i in $(oc -n openshift-user-workload-monitoring get sts --no-headers | awk '{print $1}'); do echo $i; oc -n openshift-user-workload-monitoring get sts $i -oyaml | grep retention; echo -e "\n"; done
      prometheus-user-workload
              - --storage.tsdb.retention.time=24h
      
      thanos-ruler-user-workload
              - --tsdb.retention=24h
      

      Version-Release number of selected component (if applicable):

      4.17.0-0.nightly-2024-09-18-003538    

      How reproducible:

      always

      Steps to Reproduce:

      1. see the description

      Actual results:

      default thanos-ruler retention time is 15d in api.md

      Expected results:

      should be 24h

      Additional info:

          

            janantha@redhat.com Jayapriya Pai
            juzhao@redhat.com Junqi Zhao
            Junqi Zhao Junqi Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: