Nacos配置实时生效测试
实时生效配置
eureka
Eureka
可实时更新
eureka:
client:
service-url:
defaultZone: http://127.0.0.1:9999/eureka
instance:
prefer-ip-address: true
ribbon
Ribbon
可实时更新
ribbon:
ConnectTimeout: 3000
ReadTimeout: 20000
ServerListRefreshInterval: 3000
非实时生效配置
zipkin
Zipkin
不可实时更新
spring:
zipkin:
base-url: http://127.0.0.1:9101
sleuth:
sampler:
probability: 1
web:
additional-skip-pattern: /
metrics
Metrics
不可实时更新
#metrics
management:
metrics:
export:
prometheus:
enabled: true
endpoints:
web:
exposure:
include: health, info, httptrace, metrics, threaddump, mappings, prometheus
endpoint:
health:
show-details: always
版权声明:
作者:Joe.Ye
链接:https://www.appblog.cn/index.php/2023/03/27/nacos-configuration-real-time-validation-test/
来源:APP全栈技术分享
文章版权归作者所有,未经允许请勿转载。
THE END
0
二维码
打赏
海报
Nacos配置实时生效测试
实时生效配置
eureka
Eureka可实时更新
eureka:
client:
service-url:
defaultZone: http://127.0.0.1:9999/eureka
instance:
prefer-ip-a……
文章目录
关闭
共有 0 条评论