Standardise Prometheus targets to Tailscale IPs

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:07:54 +00:00
parent 8163b226b3
commit 98f5f7cf95

View file

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