feat: 接入 Prometheus 监控(放行 /actuator/prometheus + 指标暴露 + compose 编排)
This commit is contained in:
1 parent
42dd68f266
commit
32710c2e06
5 files changed
+70
-2
No files matched your search
+3
-2
@@ -53,9 +53,10 @@ public class SecurityConfig {
|
||||
"/swagger-ui/**",
|
||||
"/swagger-ui.html",
|
||||
"/v3/api-docs/**",
|
||||
/* 健康检查:给容器编排与冒烟脚本用(本项目没引 actuator,见 HealthController 注释) */
|
||||
/* 健康检查与监控:/actuator/health 给容器编排,/actuator/prometheus 给 Prometheus 抓取指标 */
|
||||
"/healthz",
|
||||
"/actuator/health"
|
||||
"/actuator/health",
|
||||
"/actuator/prometheus"
|
||||
};
|
||||
|
||||
private final JwtAuthenticationFilter jwtAuthenticationFilter;
|
||||
|
||||
Reference in new issue
Block a user