mirror of
https://github.com/DullJZ/s3-balance.git
synced 2026-07-10 23:12:18 +08:00
Feat: Token auth for metrics
This commit is contained in:
@@ -128,6 +128,8 @@ balancer:
|
||||
metrics:
|
||||
enabled: true
|
||||
path: "/metrics"
|
||||
# Prometheus 抓取时需要携带的 Token(可选,配置后需使用 Authorization: Bearer <token> 访问)
|
||||
token: ""
|
||||
|
||||
# S3兼容API配置
|
||||
s3api:
|
||||
|
||||
Reference in New Issue
Block a user