update home address [CI SKIP]
This commit is contained in:
parent
f91f13dc8d
commit
9ce05b739c
1 changed files with 4 additions and 2 deletions
|
|
@ -243,7 +243,8 @@ extraScrapeConfigs: |
|
||||||
- job_name: 'openwrt'
|
- job_name: 'openwrt'
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- "home.viktorbarzin.lan:9100"
|
#- "home.viktorbarzin.lan:9100"
|
||||||
|
- "10.0.20.1:9100"
|
||||||
metrics_path: '/metrics'
|
metrics_path: '/metrics'
|
||||||
relabel_configs:
|
relabel_configs:
|
||||||
- source_labels: [__address__]
|
- source_labels: [__address__]
|
||||||
|
|
@ -251,7 +252,8 @@ extraScrapeConfigs: |
|
||||||
- source_labels: [__param_target]
|
- source_labels: [__param_target]
|
||||||
target_label: instance
|
target_label: instance
|
||||||
- target_label: __address__
|
- target_label: __address__
|
||||||
replacement: 'home.viktorbarzin.lan:9100'
|
#replacement: 'home.viktorbarzin.lan:9100'
|
||||||
|
replacement: '10.0.20.1:9100'
|
||||||
metric_relabel_configs:
|
metric_relabel_configs:
|
||||||
- source_labels: [ __name__ ]
|
- source_labels: [ __name__ ]
|
||||||
target_label: '__name__'
|
target_label: '__name__'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue