metrics for powerapi
This commit is contained in:
parent
472cd97dc6
commit
b8b5e116c2
|
@ -1,6 +1,6 @@
|
||||||
FROM prom/prometheus
|
FROM prom/prometheus
|
||||||
|
|
||||||
LABEL version="20241021.1.4"
|
LABEL version="20241021.1.5"
|
||||||
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:241021.1.4
|
image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:241021.1.5
|
||||||
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
|
||||||
|
|
|
@ -26,6 +26,11 @@ scrape_configs:
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['pi501.in.thelinuxpro.net:9100', 'pi502.in.thelinuxpro.net:9100']
|
- targets: ['pi501.in.thelinuxpro.net:9100', 'pi502.in.thelinuxpro.net:9100']
|
||||||
|
|
||||||
|
- job_name: power-api
|
||||||
|
metrics_path: /metrics
|
||||||
|
static_configs:
|
||||||
|
- targets: ['powerapi.in.thelinuxpro.net:5000']
|
||||||
|
|
||||||
- job_name: unifi
|
- job_name: unifi
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['unpoller.in.thelinuxpro.net:9130']
|
- targets: ['unpoller.in.thelinuxpro.net:9130']
|
||||||
|
|
Loading…
Reference in New Issue