add prometheus targets for fuses [ci skip]
This commit is contained in:
parent
76103f52e3
commit
5f2cc75a8e
1 changed files with 24 additions and 2 deletions
|
|
@ -450,11 +450,33 @@ extraScrapeConfigs: |
|
||||||
- job_name: 'automatic-transfer-switch'
|
- job_name: 'automatic-transfer-switch'
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- "tuya-bridge.tuya-bridge.svc.cluster.local:80" # devvm
|
- "tuya-bridge.tuya-bridge.svc.cluster.local:80"
|
||||||
metrics_path: '/metrics'
|
metrics_path: '/metrics/bfe98afa941d5a1e2def8s'
|
||||||
metric_relabel_configs:
|
metric_relabel_configs:
|
||||||
- source_labels: [ __name__ ]
|
- source_labels: [ __name__ ]
|
||||||
target_label: '__name__'
|
target_label: '__name__'
|
||||||
action: replace
|
action: replace
|
||||||
regex: '(.*)'
|
regex: '(.*)'
|
||||||
replacement: 'automatic_transfer_switch_$${1}'
|
replacement: 'automatic_transfer_switch_$${1}'
|
||||||
|
- job_name: 'fuse-garage'
|
||||||
|
static_configs:
|
||||||
|
- targets:
|
||||||
|
- "tuya-bridge.tuya-bridge.svc.cluster.local:80"
|
||||||
|
metrics_path: '/metrics/bf62301ef04e38d881ugcu'
|
||||||
|
metric_relabel_configs:
|
||||||
|
- source_labels: [ __name__ ]
|
||||||
|
target_label: '__name__'
|
||||||
|
action: replace
|
||||||
|
regex: '(.*)'
|
||||||
|
replacement: 'fuse_garage_$${1}'
|
||||||
|
- job_name: 'fuse-main'
|
||||||
|
static_configs:
|
||||||
|
- targets:
|
||||||
|
- "tuya-bridge.tuya-bridge.svc.cluster.local:80"
|
||||||
|
metrics_path: '/metrics/bf1a684e80ae942e4dji6b'
|
||||||
|
metric_relabel_configs:
|
||||||
|
- source_labels: [ __name__ ]
|
||||||
|
target_label: '__name__'
|
||||||
|
action: replace
|
||||||
|
regex: '(.*)'
|
||||||
|
replacement: 'fuse_main_$${1}'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue