Update consul-exporter to 0.12.0

This commit is contained in:
Daniel Berteaud 2024-04-26 15:26:30 +02:00
parent 22e5c8793a
commit a9ed97ae36
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
FROM danielberteaud/alpine:24.4-1 AS builder
ARG CONSUL_EXPORTER_VERSION=0.11.0
ARG CONSUL_EXPORTER_VERSION=0.12.0
ADD https://github.com/prometheus/consul_exporter/releases/download/v${CONSUL_EXPORTER_VERSION}/consul_exporter-${CONSUL_EXPORTER_VERSION}.linux-amd64.tar.gz /tmp
ADD https://github.com/prometheus/consul_exporter/releases/download/v${CONSUL_EXPORTER_VERSION}/sha256sums.txt /tmp

View File

@ -56,7 +56,7 @@ job "monitoring-exporters" {
driver = "docker"
config {
image = "danielberteaud/consul-exporter:0.11.0-2"
image = "danielberteaud/consul-exporter:0.12.0-1"
readonly_rootfs = true
pids_limit = 30
command = "/local/consul-exporter"

View File

@ -79,9 +79,9 @@ monitoring:
# Consul exporter will expose consul metrics (mainly registered services status)
consul:
# Version of the exporter
version: 0.11.0
version: 0.12.0
# Docker image to use
image: '[[ .docker.repo ]]consul-exporter:[[ .monitoring.exporters.consul.version ]]-2'
image: '[[ .docker.repo ]]consul-exporter:[[ .monitoring.exporters.consul.version ]]-1'
# Custom env var to set in the container
env: {}
# Resource allocation