diff --git a/stable/elasticsearch-exporter/Chart.yaml b/stable/elasticsearch-exporter/Chart.yaml index 3621c66852..ba73a4d35b 100644 --- a/stable/elasticsearch-exporter/Chart.yaml +++ b/stable/elasticsearch-exporter/Chart.yaml @@ -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 diff --git a/stable/elasticsearch-exporter/README.md b/stable/elasticsearch-exporter/README.md index 8f38d927aa..8c4d7c0156 100644 --- a/stable/elasticsearch-exporter/README.md +++ b/stable/elasticsearch-exporter/README.md @@ -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 | `{}` diff --git a/stable/elasticsearch-exporter/templates/servicemonitor.yaml b/stable/elasticsearch-exporter/templates/servicemonitor.yaml index ab27693a55..688ba1735a 100644 --- a/stable/elasticsearch-exporter/templates/servicemonitor.yaml +++ b/stable/elasticsearch-exporter/templates/servicemonitor.yaml @@ -47,4 +47,5 @@ spec: - {{ . }} {{- end }} {{- end }} + sampleLimit: {{ .Values.serviceMonitor.sampleLimit }} {{- end }} diff --git a/stable/elasticsearch-exporter/values.yaml b/stable/elasticsearch-exporter/values.yaml index 9b8d524c67..385ff4e1c7 100644 --- a/stable/elasticsearch-exporter/values.yaml +++ b/stable/elasticsearch-exporter/values.yaml @@ -173,6 +173,7 @@ serviceMonitor: relabelings: [] targetLabels: [] metricRelabelings: [] + sampleLimit: 0 prometheusRule: ## If true, a PrometheusRule CRD is created for a prometheus operator