Standardise Prometheus targets to Tailscale IPs (#4)

Replace local network IPs (192.168.1.x) with Tailscale IPs for
london-a and london-b in all scrape configs. This ensures consistent
connectivity via Tailscale mesh regardless of network topology changes.

Refs: PESO-80
This commit is contained in:
Rasmus Wejlgaard 2026-03-28 20:08:09 +00:00 committed by GitHub
parent 61502861e3
commit 03ce524730
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,11 +22,11 @@ scrape_configs:
- job_name: "node_exporter" - job_name: "node_exporter"
static_configs: static_configs:
- targets: ["192.168.1.254:9100"] - targets: ["100.122.219.41:9100"]
labels: labels:
location: london location: london
server: london-a server: london-a
- targets: ["192.168.1.253:9100"] - targets: ["100.84.65.101:9100"]
labels: labels:
location: london location: london
server: london-b server: london-b
@ -49,14 +49,14 @@ scrape_configs:
- job_name: "smartmontools" - job_name: "smartmontools"
static_configs: static_configs:
- targets: ["192.168.1.253:9633"] - targets: ["100.84.65.101:9633"]
labels: labels:
location: london location: london
server: london-b server: london-b
- job_name: "plex" - job_name: "plex"
static_configs: static_configs:
- targets: ["192.168.1.253:9000"] - targets: ["100.84.65.101:9000"]
labels: labels:
location: london location: london
server: london-b server: london-b