Nacos配置实时生效测试

实时生效配置

eureka

Eureka可实时更新

1
2
3
4
5
6
eureka:
client:
service-url:
defaultZone: http://127.0.0.1:9999/eureka
instance:
prefer-ip-address: true

ribbon

Ribbon可实时更新

1
2
3
4
ribbon:
ConnectTimeout: 3000
ReadTimeout: 20000
ServerListRefreshInterval: 3000

非实时生效配置

zipkin

Zipkin不可实时更新

1
2
3
4
5
6
7
8
spring:
zipkin:
base-url: http://127.0.0.1:9101
sleuth:
sampler:
probability: 1
web:
additional-skip-pattern: /

metrics

Metrics不可实时更新

1
2
3
4
5
6
7
8
9
10
11
12
13
#metrics
management:
metrics:
export:
prometheus:
enabled: true
endpoints:
web:
exposure:
include: health, info, httptrace, metrics, threaddump, mappings, prometheus
endpoint:
health:
show-details: always

Powered by AppBlog.CN     浙ICP备14037229号

Copyright © 2012 - 2021 APP开发技术博客 All Rights Reserved.

访客数 : | 访问量 :