add registry monitoring to prometheus [ci skip]

This commit is contained in:
Viktor Barzin 2025-03-30 11:15:49 +00:00
parent c6aa11b0e6
commit 16d6bcc544
2 changed files with 11 additions and 0 deletions

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

Binary file not shown.