springcloud_k8s_panzhihuazhihuishequ/applets/pom.xml
@@ -50,7 +50,15 @@ <groupId>com.github.xiaoymin</groupId> <artifactId>swagger-bootstrap-ui</artifactId> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> <build> springcloud_k8s_panzhihuazhihuishequ/applets/src/main/resources/bootstrap.yml
@@ -29,4 +29,17 @@ secret: c7ea9aaa7e391a487e8a5b9ba61045d1 msgDataFormat: JSON management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: applets springcloud_k8s_panzhihuazhihuishequ/applets_backstage/pom.xml
@@ -48,7 +48,15 @@ <artifactId>hystrix-javanica</artifactId> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> springcloud_k8s_panzhihuazhihuishequ/applets_backstage/src/main/resources/bootstrap.yml
@@ -20,7 +20,19 @@ service-url: defaultZone: http://${EUREKA_URL:localhost}:8192/eureka management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: appletsbackstage springcloud_k8s_panzhihuazhihuishequ/auth/pom.xml
@@ -92,7 +92,15 @@ <scope>compile</scope> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> <build> springcloud_k8s_panzhihuazhihuishequ/auth/src/main/resources/bootstrap.yml
@@ -17,3 +17,16 @@ defaultZone: http://${EUREKA_URL:localhost}:8192/eureka management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: auth springcloud_k8s_panzhihuazhihuishequ/community_backstage/pom.xml
@@ -53,6 +53,15 @@ <artifactId>officeexport-java</artifactId> <version>1.0.1.6-RELEASE</version> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> <build> springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/resources/bootstrap.yml
@@ -20,3 +20,16 @@ service-url: defaultZone: http://${EUREKA_URL:localhost}:8192/eureka management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: communitybackstage springcloud_k8s_panzhihuazhihuishequ/config_server/pom.xml
@@ -40,7 +40,15 @@ <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> springcloud_k8s_panzhihuazhihuishequ/config_server/src/main/resources/application.yml
@@ -26,3 +26,16 @@ password: huanghongfa123456 # basedir: F:\nahan\config-repo\config-repo management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: config springcloud_k8s_panzhihuazhihuishequ/eureka_server/pom.xml
@@ -25,7 +25,15 @@ <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> springcloud_k8s_panzhihuazhihuishequ/eureka_server/src/main/resources/application.yml
@@ -14,3 +14,16 @@ enable-self-preservation: false #是否开启自我保护模式 eviction‐interval‐timer‐in‐ms: 10000 #服务注册表清理间隔(单位毫秒,默认是60*1000) management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: eureka springcloud_k8s_panzhihuazhihuishequ/grid_app/pom.xml
@@ -48,6 +48,15 @@ <groupId>com.github.xiaoymin</groupId> <artifactId>swagger-bootstrap-ui</artifactId> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> <build> springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/resources/bootstrap.yml
@@ -20,3 +20,16 @@ service-url: defaultZone: http://${EUREKA_URL:localhost}:8192/eureka management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: gridapp springcloud_k8s_panzhihuazhihuishequ/grid_backstage/pom.xml
@@ -48,6 +48,15 @@ <groupId>com.github.xiaoymin</groupId> <artifactId>swagger-bootstrap-ui</artifactId> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> <build> springcloud_k8s_panzhihuazhihuishequ/grid_backstage/src/main/resources/bootstrap.yml
@@ -20,3 +20,16 @@ service-url: defaultZone: http://${EUREKA_URL:localhost}:8192/eureka management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: gridbackstage springcloud_k8s_panzhihuazhihuishequ/pom.xml
@@ -185,6 +185,17 @@ <artifactId>feign-httpclient</artifactId> <version>${feign-httpclient.version}</version> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> <version>1.5.1</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> <version>2.3.4.RELEASE</version> </dependency> </dependencies> </dependencyManagement> springcloud_k8s_panzhihuazhihuishequ/service_community/pom.xml
@@ -73,6 +73,15 @@ <artifactId>commons-lang</artifactId> <version>2.6</version> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/bootstrap.yml
@@ -28,3 +28,16 @@ aesKey: Ryo7M3n8loC5 sensitive: true management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: community springcloud_k8s_panzhihuazhihuishequ/service_grid/pom.xml
@@ -73,6 +73,15 @@ <artifactId>commons-lang</artifactId> <version>2.6</version> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/resources/bootstrap.yml
@@ -23,3 +23,16 @@ aesKey: Ryo7M3n8loC5 sensitive: true management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: grid springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/pom.xml
@@ -59,6 +59,15 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-redis</artifactId> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/bootstrap.yml
@@ -16,3 +16,16 @@ service-url: defaultZone: http://${EUREKA_URL:localhost}:8192/eureka management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: partybuilding springcloud_k8s_panzhihuazhihuishequ/service_user/pom.xml
@@ -71,7 +71,15 @@ <groupId>com.netflix.hystrix</groupId> <artifactId>hystrix-javanica</artifactId> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/resources/bootstrap.yml
@@ -16,3 +16,16 @@ service-url: defaultZone: http://${EUREKA_URL:localhost}:8192/eureka management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: user springcloud_k8s_panzhihuazhihuishequ/shop_backstage/pom.xml
@@ -47,6 +47,15 @@ <groupId>com.github.xiaoymin</groupId> <artifactId>swagger-bootstrap-ui</artifactId> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> <build> springcloud_k8s_panzhihuazhihuishequ/shop_backstage/src/main/resources/bootstrap.yml
@@ -20,3 +20,16 @@ service-url: defaultZone: http://${EUREKA_URL:localhost}:8192/eureka management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: shopbackstage springcloud_k8s_panzhihuazhihuishequ/timejob/pom.xml
@@ -48,6 +48,15 @@ <artifactId>xxl-job-core</artifactId> <version>2.2.0</version> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/resources/bootstrap.yml
@@ -17,5 +17,17 @@ defaultZone: http://${EUREKA_URL:localhost}:8192/eureka management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: timejob springcloud_k8s_panzhihuazhihuishequ/zuul/pom.xml
@@ -56,6 +56,15 @@ <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> </dependency> <!--添加监控依赖包--> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> </dependencies> springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/resources/bootstrap.yml
@@ -85,3 +85,18 @@ - POST:/api/applets/user/pageeasyphoto - POST:/api/applets/neighbor/user/page - GET:/api/applets/user/listfamily management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always metrics: tags: application: zuul