charts icon indicating copy to clipboard operation
charts copied to clipboard

[bitnami/kube-prometheus]: support tsdb runtime configuration

Open rfc2119 opened this issue 3 months ago • 4 comments

Name and Version

bitnami/kube-prometheus 9.0.5

What is the problem this feature will solve?

The TSDB enables support for configuring the time window out-of-order samples. It was implemented here https://github.com/prometheus/prometheus/pull/11075 in Prometheus v2.39.0, and the Prometheus operator supports configuring it. However, the generated prometheus.env.yaml file does not include that option, and also the documentation for the helm chart does not mention it. Here's an example "values.yaml" file:

prometheus:
  retention: 30d
  tsdb:
    outOfOrderTimeWindow: 5m

And in the Prometheus config file itself: Configuration | Prometheus

What is the feature you are proposing to solve the problem?

Support configuring TSDB's runtime options, including out-of-order samples. The latter option is still considered experimental, but it's widely used in production and is effective in large clusters.

rfc2119 avatar Apr 29 '24 09:04 rfc2119