mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
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:
parent
8163b226b3
commit
98f5f7cf95
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue