feat(obs): T2-5 Prometheus scrape game-cloud actuator(波② 端点已成立·dev target)
波② 已给 huijing-server 挂 actuator/micrometer、/actuator/prometheus 端点成立并 dev 亲验, 本波启用 prometheus.yml 里预留注释的 game-cloud job:target=dev huijing-dev(100.64.0.7:48080, staging profile 已放行 /actuator/**、exposure 仅 health,prometheus)。nacos/rmq job 仍留注释 (各自 exporter 未就位、不越界)。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ae1f9a003d
commit
e21ab160e2
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user