You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
752 B

# 暴露监控端点
management:
endpoints:
web:
exposure:
include: '*'
endpoint:
health:
show-details: always
# feign 配置
feign:
# 开启断路器
hystrix:
enabled: true
okhttp:
enabled: true
httpclient:
enabled: false
client:
config:
default:
connectTimeout: 10000
readTimeout: 10000
# 请求和响应的压缩配置
compression:
request:
enabled: true
mime-types: text/xml;application/xml;application/json
min-request-size: 2048
response:
enabled: true
# 负载均衡请求处理的超时时间
ribbon:
ReadTimeout: 10000
ConnectTimeout: 10000
# 设置日志级别
logging:
level:
com:
zsw:
cloud: debug