diff --git a/Dockerfile b/Dockerfile index 1c05f47..abbaccc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM prom/prometheus -LABEL version="20241021.1.3" +LABEL version="20241021.1.4" LABEL description="prometheus" RUN mkdir -p /etc/prometheus diff --git a/docker-compose.yml b/docker-compose.yml index e169838..100bd11 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.3 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:241021.1.4 container_name: prometheus command: '--config.file=/etc/prometheus/prometheus.yml' restart: unless-stopped diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index b81de60..c0b6f23 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -57,6 +57,7 @@ scrape_configs: static_configs: - targets: - http://powerapi.in.thelinuxpro.net:5000/power/blackbox + - http://powerapi.in.thelinuxpro.net:5000/power/_VERSION relabel_configs: - source_labels: [__address__] target_label: __param_target @@ -71,8 +72,8 @@ scrape_configs: module: [http_301] static_configs: - targets: - - https://thelinux.pro - - https://kameronkenny.com + - http://thelinux.pro + - http://kameronkenny.com relabel_configs: - source_labels: [__address__] target_label: __param_target