尊龙凯时人生就是搏

actuatorÊÚȨÐèÒªÓöÈ

·ñ£¬actuatorÊÚȨ²»ÐèÒªÓöÈ¡£ËüÊÇÒ»¸öÄÚÖÃÓÚspring bootµÄ¿ò¼Ü£¬ÎÞÐèÌØÊâÊÚȨ¡£

actuatorÊÚȨÐèÒªÓöÈÂð£¿

·ñ¡£

ÏêϸڹÊÍ£º

ActuatorÊÇÒ»¸öSpring BootÌṩµÄ¿ò¼Ü£¬ÓÃÓÚΪSpringÓ¦ÓóÌÐòÌṩ¼à¿ØºÍÖÎÀíÐÅÏ¢¡£ËüÄÚÖÃÓÚSpring Boot£¬²»ÐèÒªÌØÁíÍâÊÚȨÓöÈ¡£×¢²á»òʹÓÃActuator²»ÐèÒªÈκÎÀàÐ͵ÄÔÊÐí»ò¶©ÔÄ¡£

ActuatorÔÚĬÈÏÇéÐÎÏ´¦ÓÚ½ûÓÃ״̬¡£ÒªÆôÓÃËü£¬ÄúÐèÒªÔÚÓ¦ÓóÌÐòµÄapplication.properties»òapplication.ymlÎļþÖÐÌí¼ÓÒÔÏÂÉèÖãº

management.endpoints.web.exposure.include=*

µÇ¼ºó¸´ÖÆ

Õ⽫ÆôÓÃËùÓÐActuator¶Ëµã²¢ÔÊÐíͨ¹ýWebÇëÇó»á¼ûËüÃÇ¡£Äú¿ÉÒÔÔÚä¯ÀÀÆ÷ÖÐʹÓÃ/actuator¶Ëµã»á¼ûÕâЩ¶Ëµã£¬ÀýÈ磺

  • /actuator/info£ºÏÔʾӦÓóÌÐòÐÅÏ¢
  • /actuator/health£º¼ì²éÓ¦ÓóÌÐò¿µ½¡×´Ì¬
  • /actuator/metrics£ºÏÔʾӦÓóÌÐòÖ¸±ê

Actuator»¹ÌṩÁËÉèÖÃÑ¡ÏîÀ´ÏÞÖƶÔijЩ¶ËµãµÄ»á¼û¡£ÈôÊÇÄúÐèÒªÌØÁíÍâÇå¾²²½·¥£¬¿ÉÒÔʹÓÃmanagement.endpoints.web.exposure.includeºÍmanagement.endpoints.web.exposure.excludeÉèÖÃÀ´¿ØÖÆÌض¨¶ËµãµÄ»á¼ûȨÏÞ¡£

ÖµµÃ×¢ÖصÄÊÇ£¬ËäÈ»Actuator×Ô¼º²»ÐèÒªÊÚȨÓöÈ£¬µ«ÈôÊÇÄúÐèҪʹÓÃActuatorÓëÆäËûÉÌÒµÈí¼þ»òЧÀͼ¯³É£¬Ôò¿ÉÄÜÐèÒªÖ§¸¶ÌØÁíÍâÓöÈ¡£ÀýÈ磬ÈôÊÇÄúÏëʹÓÃActuatorÓëµÚÈý·½¼à¿Øƽ̨¼¯³É£¬¸Ãƽ̨¿ÉÄÜÐèÒª¸¶·Ñ¶©ÔÄ¡£

ÒÔÉϾÍÊÇactuatorÊÚȨÐèÒªÓöȵÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í尊龙凯时人生就是搏ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ尊龙凯时人生就是搏ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ尊龙凯时人生就是搏

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎ壬9:30-18:30£¬½ÚãåÈÕÐÝÏ¢

QR code
sitemap¡¢ÍøÕ¾µØͼ