add version and 301 should be http
This commit is contained in:
parent
6281236c94
commit
472cd97dc6
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue