Feat: Token auth for metrics

This commit is contained in:
DullJZ
2025-12-21 14:37:06 +08:00
parent eecda55eb3
commit 322d41fbb2
6 changed files with 19 additions and 8 deletions

View File

@@ -128,6 +128,8 @@ balancer:
metrics:
enabled: true
path: "/metrics"
# Prometheus 抓取时需要携带的 Token可选配置后需使用 Authorization: Bearer <token> 访问)
token: ""
# S3兼容API配置
s3api: