From d833b6fa9a2ee4670456b7e39cf9c86177a25eae Mon Sep 17 00:00:00 2001 From: godog <godog@autistici.org> Date: Mon, 13 Apr 2020 16:40:17 +0200 Subject: [PATCH] Upgrade elasticsearch_exporter to 1.1.0 --- build.sh | 2 +- conf/chaperone.d/elasticsearch-exporter.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 9653bf9..1ca4638 100755 --- a/build.sh +++ b/build.sh @@ -15,7 +15,7 @@ PACKAGES=" " # Release tarball for the elasticsearch prometheus exporter. -EXPORTER_RELEASE_URL="https://github.com/justwatchcom/elasticsearch_exporter/releases/download/v1.0.4rc1/elasticsearch_exporter-1.0.4rc1.linux-amd64.tar.gz" +EXPORTER_RELEASE_URL="https://github.com/justwatchcom/elasticsearch_exporter/releases/download/v1.1.0/elasticsearch_exporter-1.1.0.linux-amd64.tar.gz" # The default bitnami/minideb image defines an 'install_packages' # command which is just a convenient helper. Define our own in diff --git a/conf/chaperone.d/elasticsearch-exporter.conf b/conf/chaperone.d/elasticsearch-exporter.conf index fb7cdc9..d8ecae4 100644 --- a/conf/chaperone.d/elasticsearch-exporter.conf +++ b/conf/chaperone.d/elasticsearch-exporter.conf @@ -1,4 +1,4 @@ exporter.service: { - command: "/bin/sh -c 'exec /usr/sbin/elasticsearch_exporter -es.indices -es.uri http://127.0.0.1:${PORT} -web.listen-address :${EXPORTER_PORT}'", + command: "/bin/sh -c 'exec /usr/sbin/elasticsearch_exporter --es.indices --es.uri http://127.0.0.1:${PORT} --web.listen-address :${EXPORTER_PORT}'", restart: true, } -- GitLab