{"id":40387,"date":"2022-12-02T19:21:40","date_gmt":"2024-02-10T22:55:12","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82\/"},"modified":"2024-04-29T03:29:39","modified_gmt":"2024-04-28T19:29:39","slug":"%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82\/","title":{"rendered":"\u4f7f\u7528Spring Boot Actuator\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5"},"content":{"rendered":"<p>\u8fd9\u6b21\u8bd5\u8bd5\u5bf9Spring Boot\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5\u3002<br \/>\n\u901a\u8fc7\u4f7f\u7528spring-boot-actuator\uff0c\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0\u5065\u5eb7\u68c0\u67e5\u3002<\/p>\n<h2>\u6dfb\u52a0\u4f9d\u8d56\u5173\u7cfb<\/h2>\n<pre class=\"post-pre\"><code>&lt;parent&gt;\r\n    &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n    &lt;artifactId&gt;spring-boot-starter-parent&lt;\/artifactId&gt;\r\n    &lt;version&gt;1.3.0.M5&lt;\/version&gt;\r\n&lt;\/parent&gt;\r\n\r\n&lt;dependencies&gt;\r\n    &lt;dependency&gt;\r\n        &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\r\n        &lt;artifactId&gt;spring-boot-starter-actuator&lt;\/artifactId&gt;\r\n    &lt;\/dependency&gt;\r\n&lt;\/dependencies&gt;\r\n<\/code><\/pre>\n<h2>\u5065\u5eb7\u68c0\u67e5\u5904\u7406\u76ee\u6807<\/h2>\n<p>\u53ea\u9700\u6dfb\u52a0\u4f9d\u8d56\u5173\u7cfb\uff0c\u5c31\u80fd\u901a\u8fc7HealthIndicatorAutoConfiguration\u81ea\u52a8\u6267\u884c\u5065\u5eb7\u68c0\u67e5\u3002\u76ee\u524d\uff0cspring-boot-actuator-1.3.0.M5\u4ec5\u652f\u6301\u8fd9\u79cd\u5065\u5eb7\u68c0\u67e5\u3002<\/p>\n<div>\n<div class=\"post-table\">\u5bfe\u8c61\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u5185\u5bb9DataSourceSpring\u306eBean\u3068\u3057\u3066\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u5168DataSource\u306b\u5bfe\u3057\u3066PING\u30af\u30a8\u30ea\u3092\u5b9f\u884c\uff08ORACLE\u306e\u5834\u5408\u306f&#8221;SELECT &#8216;Hello&#8217; from DUAL&#8221;)MongoDBSpring\u306eBean\u3068\u3057\u3066\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u5168MongoTemplate\u306b\u5bfe\u3057\u3066{ buildInfo: 1 }\u30b3\u30de\u30f3\u30c9\u3092\u767a\u884cRedisSpring\u306eBean\u3068\u3057\u3066\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u5168RedisConnectionFactory\u306b\u5bfe\u3057\u3066INFO\u30b3\u30de\u30f3\u30c9\u3092\u767a\u884cRabbitMQSpring\u306eBean\u3068\u3057\u3066\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u5168RabbitTemplate\u306b\u5bfe\u3057\u3066\u3001com.rabbitmq.client.Channel#getConnection.getServerProperties()\u3092\u8a66\u884cSolrSpring\u306eBean\u3068\u3057\u3066\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u5168SolrServer\u306b\u5bfe\u3057\u3066SolrServer#ping()\u3092\u5b9f\u884c\u30c7\u30a3\u30b9\u30af\u7a7a\u304d\u9818\u57df\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fnew File(&#8220;.&#8221;).getFreeSpace()\u306710MB\u4ee5\u4e0a\u7a7a\u304d\u304c\u3042\u308b\u304b\u30c1\u30a7\u30c3\u30af\u30e1\u30fc\u30eb\u9001\u4fe1Spring\u306eBean\u3068\u3057\u3066\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u5168JavaMailSenderImpl\u306b\u5bfe\u3057\u3066JavaMailSenderImpl#testConnection()\u3092\u5b9f\u884cJMSSpring\u306eBean\u3068\u3057\u3066\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u5168ConnectionFactory\u306b\u5bfe\u3057\u3066ConnectionFactory#createConnection() and Close\u3092\u5b9f\u884cElastitsearchSpring\u306eBean\u3068\u3057\u3066\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u5168Client\u306b\u5bfe\u3057\u3066Requests#clusterHealthRequest\u3092\u5b9f\u884c\u3002\u5bfe\u8c61index\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067_all<\/div>\n<\/div>\n<p>\u5411\u4e00\u4e2a\u7aef\u70b9\u53d1\u9001\u8bf7\u6c42\u5c06\u6267\u884c\u6240\u6709\u7684\u5065\u5eb7\u68c0\u67e5\u3002<br \/>\n\u56e0\u6b64\uff0c\u53ef\u4ee5\u5224\u65ad\u6574\u4e2a\u7cfb\u7edf\u662f\u5426\u6b63\u5728\u8fd0\u884c\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015-09-19 22.48.37.png\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d406737434c4406c92036\/7-0.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2015-09-19 22.48.37.png\" \/><\/div>\n<h2>\u4f7f\u7528\u7684\u65b9\u5f0f<\/h2>\n<p>\u5f53\u5411\/health\u53d1\u9001\u8bf7\u6c42\u65f6\uff0c\u5c06\u4ee5JSON\u683c\u5f0f\u8fd4\u56de\u5065\u5eb7\u68c0\u67e5\u7ed3\u679c\u3002<\/p>\n<p>\u8bf7\u5c06\u4ee5\u4e0b\u5185\u5bb9\u7528\u4e2d\u6587\u8fdb\u884c\u672c\u5730\u5316\u6539\u5199\uff0c\u53ea\u9700\u63d0\u4f9b\u4e00\u79cd\u9009\u9879\uff1a<br \/>\n$ curl localhost:8080\/health<\/p>\n<p>\u8bf7\u7528 curl \u547d\u4ee4\u8bf7\u6c42\u672c\u5730\u4e3b\u673a 8080 \u7aef\u53e3\u7684 \/health \u8def\u5f84\u3002<\/p>\n<pre class=\"post-pre\"><code>{\r\n    \"status\":\"DOWN\",\r\n    \"redis\":{\r\n        \"status\":\"UP\",\r\n        \"redisDataWriter\" {\"status\":\"UP\",\"version\":\"2.8.21\"},\r\n        \"redisDataReader\":{\"status\":\"UP\",\"version\":\"2.8.21\"}},\r\n    \"elasticsearch\":{\r\n        \"status\":\"DOWN\",\r\n        \"clusterName\":\"elaseticsearch_sample\",\r\n        \"numberOfNodes\":1,\r\n        \"numberOfDataNodes\":1,\r\n        \"activePrimaryShards\":7,\r\n        \"activeShards\":7,\r\n        \"relocatingShards\":0,\r\n        \"initializingShards\":0,\r\n        \"unassignedShards\":1},\r\n    \"db\":{\r\n        \"status\":\"UP\",\r\n        \"database\":\"Oracle\",\"hello\":1}\r\n}\r\n<\/code><\/pre>\n<p>\u9019\u500b\u7d50\u679c\u4e2d\u5df2\u7d93\u5c0dRedis\u3001Elasticsearch\u548c\u8cc7\u6599\u5eab\u9032\u884c\u4e86\u5065\u5eb7\u6aa2\u67e5\u3002<br \/>\n\u7531\u65bcElasticsearch\u7684\u5065\u5eb7\u6aa2\u67e5\u5931\u6557\uff0c\u6240\u4ee5\u88ab\u6a19\u8a18\u70baDOWN\u3002<br \/>\n\u9810\u8a2d\u60c5\u6cc1\u4e0b\uff0c\u53ea\u8981\u6709\u4e00\u500bDOWN\u72c0\u614b\u5b58\u5728\uff0c\u6574\u9ad4\u72c0\u614b\u5c31\u6703\u88ab\u6a19\u8a18\u70baDOWN\u3002<br \/>\n\u56e0\u6b64\uff0c\u7b2c\u4e00\u500b\u5143\u7d20\u7684\u72c0\u614b\u88ab\u6a19\u8a18\u70baDOWN\u3002<br \/>\n\u7576\u5728\u8ca0\u8f09\u5747\u8861\u5668\u7b49\u6a5f\u5236\u4e0a\u9032\u884c\u5065\u5eb7\u6aa2\u67e5\u6642\uff0c\u5c07\u53c3\u8003\u7b2c\u4e00\u500b\u5143\u7d20\u7684\u72c0\u614b\u4f86\u9032\u884c\u5224\u65b7\u3002<\/p>\n<h2>\u5065\u5eb7\u68c0\u67e5\u8bbe\u7f6e<\/h2>\n<p>\u53ef\u4ee5\u901a\u8fc7\u7ba1\u7406\u5065\u5eb7\uff08management.health\uff09\u5c5e\u6027\u6765\u9650\u5b9a\u6267\u884c\u5065\u5eb7\u68c0\u67e5\u7684\u5bf9\u8c61\u3002<br \/>\n\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5c06\u6839\u636e\u201c\u5065\u5eb7\u68c0\u67e5\u5904\u7406\u5bf9\u8c61\u201d\u4e2d\u6307\u5b9a\u7684\u6761\u4ef6\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5\uff0c<br \/>\n\u4f46\u662f\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u5c5e\u6027\u6765\u6392\u9664\u5065\u5eb7\u68c0\u67e5\u5bf9\u8c61\u3002<\/p>\n<pre class=\"post-pre\"><code>management:\r\n    health:\r\n        diskspace:\r\n            enabled: false\r\n<\/code><\/pre>\n<p>\u5728\u8fd9\u4e2a\u8bbe\u5b9a\u4e2d\uff0c\u5df2\u5c06\u78c1\u76d8\u7a7a\u95f2\u7a7a\u95f4\u7684\u5065\u5eb7\u68c0\u67e5\u7981\u7528\u3002<\/p>\n<h2>\u6dfb\u52a0\u5065\u5eb7\u68c0\u67e5\u5904\u7406<\/h2>\n<p>\u901a\u8fc7\u81ea\u5df1\u521b\u5efa\u5065\u5eb7\u6307\u793a\u5668\uff0c\u53ef\u4ee5\u6dfb\u52a0\u5065\u5eb7\u68c0\u67e5\u529f\u80fd\u3002\u5982\u679c\u5728\u6b64\u5904\u914d\u7f6e\u4e86stopFile\uff0c\u5219\u6dfb\u52a0\u4e00\u4e2a\u5f3a\u5236\u5c06\u72b6\u6001\u8bbe\u4e3aDOWN\u7684\u5065\u5eb7\u68c0\u67e5\u6307\u793a\u5668\u3002<\/p>\n<pre class=\"post-pre\"><code>public class StopFileHealthIndicator extends AbstractHealthIndicator {\r\n\r\n  private final File stopFile;\r\n\r\n  public StopFileHealthIndicator(String filePath) {\r\n    this.stopFile = new File(filePath);\r\n  }\r\n\r\n  @Override\r\n  protected void doHealthCheck(Builder builder) throws Exception {\r\n    if (stopFile.exists()) {\r\n      builder.down().withDetail(\"stop-file-found\", stopFile.getAbsolutePath());\r\n    } else {\r\n      builder.up().withDetail(\"stop-file-not-found\", stopFile.getAbsolutePath());\r\n    }\r\n\r\n  }\r\n}\r\n<\/code><\/pre>\n<p>\u5c06\u5176\u6ce8\u518c\u4e3aSpring\u7684Bean\u3002<br \/>\n\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u540c\u6837\u4f7f\u7528\u5c5e\u6027\u6765\u5224\u65ad\u5176\u662f\u5426\u53ef\u7528\uff0c\u5c31\u50cf\u5176\u4ed6HealthIndicator\u4e00\u6837\u3002<\/p>\n<pre class=\"post-pre\"><code>@Bean\r\n@ConditionalOnProperty(prefix = \"management.health.stopfile\", name = \"enabled\",\r\n      matchIfMissing = true)\r\npublic HealthIndicator stopFileHealthIndicator() {\r\n   return new StopFileHealthIndicator(\".\/stop-file\");\r\n}\r\n<\/code><\/pre>\n<p>\u5c31\u8fd9\u6837\u3002<\/p>\n<p>\u8bf7\u6c42\u7ec8\u7aef\u70b9\u540e\u80fd\u591f\u770b\u5230\u5df2\u6dfb\u52a0\u5065\u5eb7\u68c0\u67e5\u3002<\/p>\n<p>\u8bf7\u7528\u4e2d\u6587\u8fdb\u884c\u672c\u5730\u5316\u8f6c\u8ff0\uff1a\u8bf7\u8bbf\u95ee\u672c\u5730\u4e3b\u673a\u76848080\u7aef\u53e3\uff0c\u83b7\u53d6\u5065\u5eb7\u72b6\u6001\u3002<\/p>\n<pre class=\"post-pre\"><code>{\r\n    \"status\":\"DOWN\",\r\n    \"redis\":{\r\n        \"status\":\"UP\",\r\n        \"redisDataWriter\" {\"status\":\"UP\",\"version\":\"2.8.21\"},\r\n        \"redisDataReader\":{\"status\":\"UP\",\"version\":\"2.8.21\"}},\r\n    \"elasticsearch\":{\r\n        \"status\":\"DOWN\",\r\n        \"clusterName\":\"elaseticsearch_sample\",\r\n        \"numberOfNodes\":1,\r\n        \"numberOfDataNodes\":1,\r\n        \"activePrimaryShards\":7,\r\n        \"activeShards\":7,\r\n        \"relocatingShards\":0,\r\n        \"initializingShards\":0,\r\n        \"unassignedShards\":1},\r\n    \"stopFile\":{\r\n        \"status\":\"UP\",\r\n        \"stop-file-not-found\":\".\/stopfile\"}\r\n    \"db\":{\r\n        \"status\":\"UP\",\r\n        \"database\":\"Oracle\",\"hello\":1}\r\n}\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u6b21\u8bd5\u8bd5\u5bf9Spring Boot\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5\u3002 \u901a\u8fc7\u4f7f\u7528spring-boot-actuator\uff0c\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0 [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-40387","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4f7f\u7528Spring Boot Actuator\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528spring-boot-actuator\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528Spring Boot Actuator\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5\" \/>\n<meta property=\"og:description\" content=\"\u8fd9\u6b21\u8bd5\u8bd5\u5bf9Spring Boot\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5\u3002 \u901a\u8fc7\u4f7f\u7528spring-boot-actuator\uff0c\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528spring-boot-actuator\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-10T22:55:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-28T19:29:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d406737434c4406c92036\/7-0.png\" \/>\n<meta name=\"author\" content=\"\u65b0, \u97f5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u65b0, \u97f5\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82\/\",\"name\":\"\u4f7f\u7528Spring Boot Actuator\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-02-10T22:55:12+00:00\",\"dateModified\":\"2024-04-28T19:29:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528Spring Boot Actuator\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\",\"name\":\"\u65b0, \u97f5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"caption\":\"\u65b0, \u97f5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528Spring Boot Actuator\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528spring-boot-actuator\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528Spring Boot Actuator\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5","og_description":"\u8fd9\u6b21\u8bd5\u8bd5\u5bf9Spring Boot\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5\u3002 \u901a\u8fc7\u4f7f\u7528spring-boot-actuator\uff0c\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528spring-boot-actuator\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-02-10T22:55:12+00:00","article_modified_time":"2024-04-28T19:29:39+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d406737434c4406c92036\/7-0.png"}],"author":"\u65b0, \u97f5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u65b0, \u97f5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82\/","name":"\u4f7f\u7528Spring Boot Actuator\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-02-10T22:55:12+00:00","dateModified":"2024-04-28T19:29:39+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528Spring Boot Actuator\u8fdb\u884c\u5065\u5eb7\u68c0\u67e5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9","name":"\u65b0, \u97f5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","caption":"\u65b0, \u97f5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8spring-boot-actuator%e8%bf%9b%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=40387"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40387\/revisions"}],"predecessor-version":[{"id":78485,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40387\/revisions\/78485"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=40387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=40387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=40387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}