add api key to tiny tuya target in prometheus scrape [ci skip]
This commit is contained in:
parent
0616f05ec1
commit
0b7b092c26
4 changed files with 137 additions and 9 deletions
|
|
@ -452,6 +452,8 @@ extraScrapeConfigs: |
|
|||
- targets:
|
||||
- "tuya-bridge.tuya-bridge.svc.cluster.local:80"
|
||||
metrics_path: '/metrics/bfe98afa941d5a1e2def8s'
|
||||
params:
|
||||
api-key: ['${tuya_api_key}']
|
||||
metric_relabel_configs:
|
||||
- source_labels: [ __name__ ]
|
||||
target_label: '__name__'
|
||||
|
|
@ -463,6 +465,8 @@ extraScrapeConfigs: |
|
|||
- targets:
|
||||
- "tuya-bridge.tuya-bridge.svc.cluster.local:80"
|
||||
metrics_path: '/metrics/bf62301ef04e38d881ugcu'
|
||||
params:
|
||||
api-key: ['${tuya_api_key}']
|
||||
metric_relabel_configs:
|
||||
- source_labels: [ __name__ ]
|
||||
target_label: '__name__'
|
||||
|
|
@ -474,6 +478,8 @@ extraScrapeConfigs: |
|
|||
- targets:
|
||||
- "tuya-bridge.tuya-bridge.svc.cluster.local:80"
|
||||
metrics_path: '/metrics/bf1a684e80ae942e4dji6b'
|
||||
params:
|
||||
api-key: ['${tuya_api_key}']
|
||||
metric_relabel_configs:
|
||||
- source_labels: [ __name__ ]
|
||||
target_label: '__name__'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue