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

add jitters to prometheus tsdb compaction

XMLWordPrintable

    • Icon: Spike Spike
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • None
    • False
    • NEW
    • NEW
    • MON Sprint 241
    • 0

      Prometheus will always run compaction at predefined times of day. This hold true when running multiple instances, which can cause high load spikes in the underlying storage.

      A jitter for compaction scheduling would be a good addition to the tsdb. This is more complex then it appears. Today the blocks that are the output of compaction are aligned on full hour marks. This property is an assumption in many places of the prometheus code. So offsetting when compaction runs needs to still produce blocks that align on the full hour.

      https://github.com/prometheus/prometheus/issues/8278

            rh-ee-amrini Ayoub Mrini
            jfajersk@redhat.com Jan Fajerski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: