【发布时间】:2019-07-10 12:48:07
【问题描述】:
我们有一个由多个微服务组成的 Spring Boot 2 REST 服务应用程序。 ELB 用于服务注册和发现,例如有服务可在
http://<dev-env>/api/serviceA/actuator/info
{
"app" : {
"name" : "App Name",
"description" : "App Description"
},
"git" : {
"branch" : "origin/brancha",
"commit" : {
"id" : "204f7a0",
"time" : "2019-07-10T11:09:13Z"
}
},
"build" : {
"version" : "0.0.1-SNAPSHOT",
"build" : {
"version" : "v_0.1.151"
},
http://<dev-env>/api/serviceB/actuator/info
....
每个服务都使用 SB 2 Actuator。
我们如何将来自两个或多个微服务的版本信息聚合到单个页面(仪表板的种类)中?有现成的解决方案吗?
【问题讨论】:
标签: spring spring-boot spring-boot-actuator