add registry monitoring to prometheus [ci skip]

This commit is contained in:
Viktor Barzin 2025-03-30 11:15:49 +00:00
parent d15434094f
commit c5ae6873c9

View file

@ -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}'