{"id":1782,"date":"2023-03-27T22:14:06","date_gmt":"2023-03-27T14:14:06","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1782"},"modified":"2023-04-23T21:16:58","modified_gmt":"2023-04-23T13:16:58","slug":"nacos-configuration-real-time-validation-test","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/27\/nacos-configuration-real-time-validation-test\/","title":{"rendered":"Nacos\u914d\u7f6e\u5b9e\u65f6\u751f\u6548\u6d4b\u8bd5"},"content":{"rendered":"<h2>\u5b9e\u65f6\u751f\u6548\u914d\u7f6e<\/h2>\n<h3>eureka<\/h3>\n<p><code>Eureka<\/code>\u53ef\u5b9e\u65f6\u66f4\u65b0<\/p>\n<p><!-- more --><\/p>\n<pre><code class=\"language-yml\">eureka:\n  client:\n    service-url:\n      defaultZone: http:\/\/127.0.0.1:9999\/eureka\n  instance:\n    prefer-ip-address: true<\/code><\/pre>\n<h3>ribbon<\/h3>\n<p><code>Ribbon<\/code>\u53ef\u5b9e\u65f6\u66f4\u65b0<\/p>\n<pre><code class=\"language-yml\">ribbon:\n  ConnectTimeout: 3000\n  ReadTimeout: 20000\n  ServerListRefreshInterval: 3000<\/code><\/pre>\n<h2>\u975e\u5b9e\u65f6\u751f\u6548\u914d\u7f6e<\/h2>\n<h3>zipkin<\/h3>\n<p><code>Zipkin<\/code>\u4e0d\u53ef\u5b9e\u65f6\u66f4\u65b0<\/p>\n<pre><code class=\"language-yml\">spring:\n  zipkin:\n    base-url: http:\/\/127.0.0.1:9101\n  sleuth:\n    sampler:\n      probability: 1\n    web:\n      additional-skip-pattern: \/<\/code><\/pre>\n<h3>metrics<\/h3>\n<p><code>Metrics<\/code>\u4e0d\u53ef\u5b9e\u65f6\u66f4\u65b0<\/p>\n<pre><code class=\"language-yml\">#metrics\nmanagement:\n  metrics:\n    export:\n      prometheus:\n        enabled: true\n  endpoints:\n    web:\n      exposure:\n        include: health, info, httptrace, metrics, threaddump, mappings, prometheus\n  endpoint:\n    health:\n      show-details: always<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5b9e\u65f6\u751f\u6548\u914d\u7f6e eureka Eureka\u53ef\u5b9e\u65f6\u66f4\u65b0 eureka: client: service-url:  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-1782","post","type-post","status-publish","format-standard","hentry","category-nacos"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1782"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1782\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}