update home prometheus path
This commit is contained in:
parent
9ce05b739c
commit
a249205d9d
1 changed files with 2 additions and 2 deletions
|
|
@ -244,7 +244,7 @@ extraScrapeConfigs: |
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
#- "home.viktorbarzin.lan:9100"
|
#- "home.viktorbarzin.lan:9100"
|
||||||
- "10.0.20.1:9100"
|
- "10.0.20.100:9100"
|
||||||
metrics_path: '/metrics'
|
metrics_path: '/metrics'
|
||||||
relabel_configs:
|
relabel_configs:
|
||||||
- source_labels: [__address__]
|
- source_labels: [__address__]
|
||||||
|
|
@ -253,7 +253,7 @@ extraScrapeConfigs: |
|
||||||
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'
|
replacement: '10.0.20.100: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