+++ This bug was initially created as a clone of Bug #1889710 +++
Description of problem:
Timers in Go >= 1.14 introduced a degradation with the compression of data on disk (see https://github.com/prometheus/prometheus/pull/7976 for details but users reported that block sizes increased up to 50% compared to previous versions). Prometheus for OCP 4.5 (and before) are built with Go 1.13 so the only affected version is OCP 4.6.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Run Prometheus at least 4 hours and measure the sample compression with:
rate(prometheus_tsdb_compaction_chunk_size_bytes_sum[8h]) / rate(prometheus_tsdb_compaction_chunk_samples_sum[8h])
More than 2 bytes on disk per sample.
Between 1 and 2 bytes on disk per sample.
--- Additional comment from Simon Pasquier on 2020-10-20 12:45:35 UTC ---
Fixed in https://github.com/openshift/prometheus/pull/61 by bumping Prometheus to v2.22.0.
already test with unmerged pr
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (OpenShift Container Platform 4.6.6 bug fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.