Update prometheus config to use domain names now

This commit is contained in:
2025-10-28 00:12:05 +01:00
parent ac7d5a2450
commit 7344f2dced

View File

@@ -20,18 +20,19 @@ global:
# Here it's Prometheus itself.
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
# wtf is this prometheus job?
- job_name: "prometheus"
static_configs:
- targets: ["127.0.0.1:43261"]
- targets: ["prometheus.site.quack-lab.dev"]
- job_name: 'node_exporter'
static_configs:
- targets: ['localhost:56546']
- targets: ['nodeexporter-sparky.site.quack-lab.dev']
# - targets: ['nodeexporter:56546']
- job_name: 'node_exporter_lilbox'
static_configs:
- targets: ['192.168.1.78:56546']
# - job_name: 'node_exporter_lilbox'
# static_configs:
# - targets: ['192.168.1.78:56546']
- job_name: 'power-meter-reader'
scrape_interval: 30s
@@ -46,11 +47,11 @@ scrape_configs:
- job_name: 'libre-metrics-exporter-dave'
scrape_interval: 10s
static_configs:
- targets: ['192.168.1.64:9646']
- targets: ['libre-metrics-exporter-dave.site.quack-lab.dev']
- job_name: 'libre-metrics-exporter-jana'
scrape_interval: 10s
static_configs:
- targets: ['192.168.1.68:9646']
- targets: ['libre-metrics-exporter-jana.site.quack-lab.dev']
# - job_name: 'libre-metrics-exporter-jana'
# scrape_interval: 10s