From ebcfe5438683bdc7edf6230aa080988ebd4615d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Rou=C3=ABn=C3=A9?= Date: Fri, 15 Nov 2019 14:19:41 +0100 Subject: [PATCH] Add option es.indices_settings (#18909) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Rouëné --- stable/elasticsearch-exporter/Chart.yaml | 2 +- stable/elasticsearch-exporter/README.md | 1 + stable/elasticsearch-exporter/templates/deployment.yaml | 3 +++ stable/elasticsearch-exporter/values.yaml | 4 ++++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/stable/elasticsearch-exporter/Chart.yaml b/stable/elasticsearch-exporter/Chart.yaml index 5dd9b26337..a25e6f9310 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: 2.1.0 +version: 2.1.1 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 9f9dcc96d3..925f4d5e8d 100644 --- a/stable/elasticsearch-exporter/README.md +++ b/stable/elasticsearch-exporter/README.md @@ -77,6 +77,7 @@ Parameter | Description | Default `es.uri` | address of the Elasticsearch node to connect to | `localhost:9200` `es.all` | if `true`, query stats for all nodes in the cluster, rather than just the node we connect to | `true` `es.indices` | if true, query stats for all indices in the cluster | `true` +`es.indices_settings` | if true, query settings stats for all indices in the cluster | `true` `es.shards` | if true, query stats for shards in the cluster | `true` `es.cluster_settings` | if true, query stats for cluster settings | `true` `es.snapshots` | if true, query stats for snapshots in the cluster | `true` diff --git a/stable/elasticsearch-exporter/templates/deployment.yaml b/stable/elasticsearch-exporter/templates/deployment.yaml index 48fe81e66e..445bad164b 100644 --- a/stable/elasticsearch-exporter/templates/deployment.yaml +++ b/stable/elasticsearch-exporter/templates/deployment.yaml @@ -65,6 +65,9 @@ spec: {{- if .Values.es.indices }} "--es.indices", {{- end }} + {{- if .Values.es.indices_settings }} + "--es.indices_settings", + {{- end }} {{- if .Values.es.shards }} "--es.shards", {{- end }} diff --git a/stable/elasticsearch-exporter/values.yaml b/stable/elasticsearch-exporter/values.yaml index 69bca7f209..2ddce73dad 100644 --- a/stable/elasticsearch-exporter/values.yaml +++ b/stable/elasticsearch-exporter/values.yaml @@ -77,6 +77,10 @@ es: ## indices: true + ## If true, query settings stats for all indices in the cluster. + ## + indices_settings: true + ## If true, query stats for shards in the cluster. ## shards: true