add powerapi
This commit is contained in:
parent
6ca642ae7f
commit
5c1401098a
|
@ -1,6 +1,6 @@
|
||||||
FROM prom/prometheus
|
FROM prom/prometheus
|
||||||
|
|
||||||
LABEL version="20240623.1.7"
|
LABEL version="20241021.1.1"
|
||||||
LABEL description="prometheus"
|
LABEL description="prometheus"
|
||||||
|
|
||||||
RUN mkdir -p /etc/prometheus
|
RUN mkdir -p /etc/prometheus
|
||||||
|
|
|
@ -10,7 +10,7 @@ services:
|
||||||
prometheus:
|
prometheus:
|
||||||
build:
|
build:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:240623.1.7
|
image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:241021.1.1
|
||||||
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
|
||||||
|
|
|
@ -50,6 +50,21 @@ scrape_configs:
|
||||||
- target_label: __address__
|
- target_label: __address__
|
||||||
replacement: blackbox-exporter.in.thelinuxpro.net:9115
|
replacement: blackbox-exporter.in.thelinuxpro.net:9115
|
||||||
|
|
||||||
|
- job_name: blackbox_http_2xx
|
||||||
|
metrics_path: /probe
|
||||||
|
params:
|
||||||
|
module: [http_2xx]
|
||||||
|
static_configs:
|
||||||
|
- targets:
|
||||||
|
- https://powerapi.in.thelinuxpro.net
|
||||||
|
relabel_configs:
|
||||||
|
- source_labels: [__address__]
|
||||||
|
target_label: __param_target
|
||||||
|
- source_labels: [__param_target]
|
||||||
|
target_label: instance
|
||||||
|
- target_label: __address__
|
||||||
|
replacement: blackbox-exporter.in.thelinuxpro.net:9115
|
||||||
|
|
||||||
- job_name: blackbox_http_3xx
|
- job_name: blackbox_http_3xx
|
||||||
metrics_path: /probe
|
metrics_path: /probe
|
||||||
params:
|
params:
|
||||||
|
|
Loading…
Reference in New Issue