mirror of
https://github.com/bitnami/charts.git
synced 2026-03-07 08:07:55 +08:00
[bitnami/kube-prometheus] Allow setting sampleLimit/enforcedSampleLimit (#18413)
* [bitnami/kube-prometheus] Allow setting sampleLimit/enforcedSampleLimit Signed-off-by: Federico Marzocchi <federico.marzocchi@deliveryhero.com> * address review feedback Signed-off-by: Federico Marzocchi <federico.marzocchi@deliveryhero.com> --------- Signed-off-by: Federico Marzocchi <federico.marzocchi@deliveryhero.com> Signed-off-by: Fran de Paz Galán <fdepaz@vmware.com> Co-authored-by: Fran de Paz Galán <fdepaz@vmware.com>
This commit is contained in:
committed by
GitHub
parent
e3fd0b9a9f
commit
149af405d1
@@ -46,4 +46,4 @@ maintainers:
|
||||
name: kube-prometheus
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/kube-prometheus
|
||||
version: 8.16.3
|
||||
version: 8.17.0
|
||||
|
||||
@@ -270,6 +270,8 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `prometheus.scrapeInterval` | Interval between consecutive scrapes | `""` |
|
||||
| `prometheus.evaluationInterval` | Interval between consecutive evaluations | `""` |
|
||||
| `prometheus.scrapeTimeout` | Timeout after which the global scrape is ended | `""` |
|
||||
| `prometheus.sampleLimit` | Per-scrape max number of scraped samples. Requires Prometheus v2.45.0 and newer | `""` |
|
||||
| `prometheus.enforcedSampleLimit` | Override sampleLimits set by ServiceMonitor, PodMonitor or Probe objects | `""` |
|
||||
| `prometheus.listenLocal` | ListenLocal makes the Prometheus server listen on loopback | `false` |
|
||||
| `prometheus.livenessProbe.enabled` | Turn on and off liveness probe | `true` |
|
||||
| `prometheus.livenessProbe.path` | Path of the HTTP service for checking the healthy state | `/-/healthy` |
|
||||
|
||||
@@ -98,6 +98,12 @@ spec:
|
||||
{{- if .Values.prometheus.scrapeTimeout }}
|
||||
scrapeTimeout: {{ .Values.prometheus.scrapeTimeout }}
|
||||
{{- end }}
|
||||
{{- if .Values.prometheus.sampleLimit }}
|
||||
sampleLimit: {{ .Values.prometheus.sampleLimit }}
|
||||
{{- end }}
|
||||
{{- if .Values.prometheus.enforcedSampleLimit }}
|
||||
enforcedSampleLimit: {{ .Values.prometheus.enforcedSampleLimit }}
|
||||
{{- end }}
|
||||
{{- if .Values.prometheus.resources }}
|
||||
resources: {{- toYaml .Values.prometheus.resources | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -829,6 +829,12 @@ prometheus:
|
||||
## ref: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config
|
||||
##
|
||||
scrapeTimeout: ""
|
||||
## @param prometheus.sampleLimit Per-scrape max number of scraped samples. Requires Prometheus v2.45.0 and newer
|
||||
## ref: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config
|
||||
sampleLimit: ""
|
||||
## @param prometheus.enforcedSampleLimit Override sampleLimits set by ServiceMonitor, PodMonitor or Probe objects
|
||||
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.PrometheusSpec
|
||||
enforcedSampleLimit: ""
|
||||
## @param prometheus.listenLocal ListenLocal makes the Prometheus server listen on loopback
|
||||
##
|
||||
listenLocal: false
|
||||
|
||||
Reference in New Issue
Block a user