This commit is contained in:
Kameron Kenny 2024-06-23 16:36:53 -04:00
parent b73fcda911
commit a20e0e2a3a
No known key found for this signature in database
GPG Key ID: E5006629839D2276
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
FROM prom/prometheus FROM prom/prometheus
LABEL version="20240623.1.2" LABEL version="20240623.1.3"
LABEL description="prometheus" LABEL description="prometheus"
RUN mkdir -p /etc/prometheus RUN mkdir -p /etc/prometheus

View File

@ -10,7 +10,7 @@ services:
prometheus: prometheus:
build: build:
dockerfile: Dockerfile dockerfile: Dockerfile
image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:240623.1.2 image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:240623.1.3
container_name: prometheus container_name: prometheus
command: '--config.file=/etc/prometheus/prometheus.yml' command: '--config.file=/etc/prometheus/prometheus.yml'
restart: unless-stopped restart: unless-stopped

View File

@ -34,14 +34,14 @@ scrape_configs:
module: [https_2xx] module: [https_2xx]
static_configs: static_configs:
- targets: - targets:
- ['thelinux.pro:443'] - thelinux.pro:443
- job_name: blackbox_http_3xx - job_name: blackbox_http_3xx
metrics_path: /probe metrics_path: /probe
params: params:
module: [http_301] module: [http_301]
static_configs: static_configs:
- targets: - targets:
- ['http://thelinux.pro:80'] - http://thelinux.pro:80
- job_name: blackbox_dns_thelinux_pro__A - job_name: blackbox_dns_thelinux_pro__A
metrics_path: /probe metrics_path: /probe
params: params: