[stable/elasticsearch-exporter] Make sampleLimit adjustable (#23454)

* - Make sampleLimit adjustable in es exporter

Signed-off-by: Mohamed Hazem <mhaz@hellofresh.com>

* - Bump feature instead of patch

Signed-off-by: Mohamed Hazem <mhaz@hellofresh.com>
This commit is contained in:
Mohamed Hazem
2020-08-08 06:46:20 -07:00
committed by GitHub
parent 0a0be47ab1
commit c276d21e2b
4 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Elasticsearch stats exporter for Prometheus
name: elasticsearch-exporter
version: 3.6.0
version: 3.7.0
kubeVersion: ">=1.10.0-0"
appVersion: 1.1.0
home: https://github.com/justwatchcom/elasticsearch_exporter
+1
View File
@@ -103,6 +103,7 @@ Parameter | Description | Default
`serviceMonitor.relabelings` | Relabel configuration for the metrics | `[]`
`serviceMonitor.targetLabels` | Set of labels to transfer on the Kubernetes Service onto the target. | `[]`
`serviceMonitor.metricRelabelings` | MetricRelabelConfigs to apply to samples before ingestion. | `[]`
`serviceMonitor.sampleLimit` | Number of samples that will fail the scrape if exceeded | `0`
`prometheusRule.enabled` | If true, a PrometheusRule CRD is created for a prometheus operator | `false`
`prometheusRule.namespace` | If set, the PrometheusRule will be installed in a different namespace | `""`
`prometheusRule.labels` | Labels for prometheus operator | `{}`
@@ -47,4 +47,5 @@ spec:
- {{ . }}
{{- end }}
{{- end }}
sampleLimit: {{ .Values.serviceMonitor.sampleLimit }}
{{- end }}
@@ -173,6 +173,7 @@ serviceMonitor:
relabelings: []
targetLabels: []
metricRelabelings: []
sampleLimit: 0
prometheusRule:
## If true, a PrometheusRule CRD is created for a prometheus operator