diff --git a/build.sh b/build.sh index 9653bf9192cfc436ce3c3f22e075848fe27eabbb..1ca46382c4210635372b2159050b8668b671c4fd 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 fb7cdc96d8a1dc34e93dbb88c1b939982b2e032e..d8ecae44a8ddfe698477d240b5ea1976eeb60dc1 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, }