- 在 PVE shell 內新增 PVE 使用者:
並且設定權限
pveum user add pve-exporter@pve -password "password"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"schemaVersion":1,"label":"build","message":"2 warning(s), 1 error(s)","color":"red","style":"plastic"} |
透過 MinIO Client(mc) 取得 bearer_token
~$ mc alias set myminio http://sc-dss-storage:9000 USER_NAME PASSWORD && mc admin prometheus generate myminio
scrape_configs:
- job_name: minio-job
bearer_token: ey......