diff --git a/Dockerfile b/Dockerfile index 5eae476..1c05f47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM prom/prometheus -LABEL version="20241021.1.2" +LABEL version="20241021.1.3" LABEL description="prometheus" RUN mkdir -p /etc/prometheus diff --git a/docker-compose.yml b/docker-compose.yml index c47ed05..e169838 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: prometheus: build: dockerfile: Dockerfile - image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:241021.1.2 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:241021.1.3 container_name: prometheus command: '--config.file=/etc/prometheus/prometheus.yml' restart: unless-stopped diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index 0fef2ad..b81de60 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -56,7 +56,7 @@ scrape_configs: module: [http_2xx] static_configs: - targets: - - http://powerapi.in.thelinuxpro.net:5000 + - http://powerapi.in.thelinuxpro.net:5000/power/blackbox relabel_configs: - source_labels: [__address__] target_label: __param_target