add registry monitoring to prometheus [ci skip]
This commit is contained in:
parent
d15434094f
commit
c5ae6873c9
1 changed files with 11 additions and 0 deletions
|
|
@ -428,3 +428,14 @@ extraScrapeConfigs: |
|
|||
action: replace
|
||||
regex: '(.*)'
|
||||
replacement: 'ups_$${1}'
|
||||
- job_name: 'registry'
|
||||
static_configs:
|
||||
- targets:
|
||||
- "192.168.1.10:5001"
|
||||
metrics_path: '/metrics'
|
||||
metric_relabel_configs:
|
||||
- source_labels: [ __name__ ]
|
||||
target_label: '__name__'
|
||||
action: replace
|
||||
regex: '(.*)'
|
||||
replacement: 'registry_$${1}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue