diff --git a/deploy/infra/observability/prometheus.yml b/deploy/infra/observability/prometheus.yml index e9aadf9f..40907dc4 100644 --- a/deploy/infra/observability/prometheus.yml +++ b/deploy/infra/observability/prometheus.yml @@ -32,11 +32,15 @@ scrape_configs: # game-cloud 要先挂 actuator/micrometer 让 /actuator/prometheus 端点成立; # nacos/rocketmq 的 micrometer 端点同样待各自 exporter 就位。端口按各服务实际暴露核对。 # ========================================================================= - # - job_name: game-cloud - # metrics_path: /actuator/prometheus - # static_configs: - # - targets: ["100.64.0.X:PORT"] # game-cloud 单体 actuator 端口(待定) - # + # game-cloud 单体 actuator(波② 已挂 actuator/micrometer,/actuator/prometheus 端点成立;T2-5 启用 2026-07-05)。 + # dev 后端在 mini-desktop(100.64.0.7:48080),staging profile 已放行 /actuator/**(无鉴权可抓);exposure 仅 health,prometheus。 + - job_name: game-cloud + metrics_path: /actuator/prometheus + static_configs: + - targets: ["100.64.0.7:48080"] # dev huijing-dev 单体 actuator(跨机 Tailscale) + labels: + env: dev + # - job_name: nacos # metrics_path: /nacos/actuator/prometheus # static_configs: