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