vault backup: 2024-03-26 12:02:13

This commit is contained in:
2024-03-26 12:02:13 +08:00
parent 838eb89d46
commit 7769ab8998

View File

@@ -65,6 +65,22 @@ datasources:
access: proxy
```
要注意 `url: http://192.168.1.24:8083` 這一行,要更新 IP 位置。
# `prometheus.yml`
# `prometheus.yml`
```yaml highlight:"11"
# prometheus.yml
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).
scrape_configs:
- job_name: 'node-exporter-local'
scrape_interval: 5s
static_configs:
- targets: ['192.168.1.24:8084']
```
要注意 `- targets: ['192.168.1.24:8084']` 這一行,要更新 IP 位置。