add registry monitoring to prometheus [ci skip]
This commit is contained in:
parent
c6aa11b0e6
commit
16d6bcc544
2 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}'
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue