{"id":483672,"date":"2026-06-15T11:08:34","date_gmt":"2026-06-15T11:08:34","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=483672"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=483672","title":{"rendered":"\u041e\u0442\u043b\u0430\u0434\u043a\u0430 JVM \u0447\u0435\u0440\u0435\u0437 MXBeans \u043d\u0430 \u043a\u043e\u043b\u0435\u043d\u043a\u0435"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0411\u044b\u0432\u0430\u0435\u0442 \u043d\u0430\u0434\u043e \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u044c JVM. <br \/>\u0423\u0432\u0438\u0434\u0435\u0442\u044c CPU, \u044f\u0434\u0440\u0430, \u043f\u043e\u0442\u043e\u043a\u0438, \u0430 \u0447\u0430\u0449\u0435 heapMemory \u2014 \u043d\u043e \u0443 \u0442\u0435\u0431\u044f \u043d\u0438\u0447\u0435\u0433\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u0442. <br \/>\u041d\u0438 Prometheus, \u043d\u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430. \u0415\u0449\u0451 \u043d\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435. <\/p>\n<figure class=\"bordered \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/38d\/1d9\/25e\/38d1d925e63f943c3114cd271796b080.png\" alt=\"Backender \u0431\u0435\u0437 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430\" title=\"Backender \u0431\u0435\u0437 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430\" width=\"418\" height=\"426\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/38d\/1d9\/25e\/38d1d925e63f943c3114cd271796b080.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/38d\/1d9\/25e\/38d1d925e63f943c3114cd271796b080.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>Backender \u0431\u0435\u0437 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430<\/figcaption><\/div>\n<\/figure>\n<p>\u041a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c JVM \u043d\u0430 \u043a\u043e\u043b\u0435\u043d\u043a\u0435?<\/p>\n<p>\u0415\u0441\u0442\u044c \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0432 \u043b\u044e\u0431\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445.<br \/>\u041d\u0430 <a href=\"http:\/\/localhost\" rel=\"noopener noreferrer nofollow\">localhost<\/a>.<br \/>\u041d\u0430 \u0441\u0442\u0435\u043d\u0434\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.<br \/>\u041d\u0430 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432\u043e\u043c \u0441\u0442\u0435\u043d\u0434\u0435 (\u043d\u043e \u0442\u0443\u0442 \u043d\u0430 \u0441\u0432\u043e\u0439 \u0441\u0442\u0440\u0430\u0445 \u0438 \u0440\u0438\u0441\u043a \u2014 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0439\u0442\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0435\u0439).<\/p>\n<h4>\u0418 \u0437\u0434\u0435\u0441\u044c \u043c\u043d\u0435 \u043e\u0434\u043d\u0430\u0436\u0434\u044b \u043f\u043e\u043c\u043e\u0433&#8230;Custom endpoint, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u0434\u0430\u0451\u0442 \u0441\u043d\u0438\u043c\u043e\u043a \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f Java Platform MXBeans.<\/h4>\n<hr\/>\n<h2>MXBeans<\/h2>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0430\u0447\u0430\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c \u043f\u0440\u043e <strong>MXBeans<\/strong> &#8212; \u0432\u044b \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0430\u0447\u0438\u0442\u0430\u0435\u0442\u0435, \u0447\u0442\u043e \u044d\u0442\u043e \u043a\u0430\u043a\u043e\u0435-\u0442\u043e Legacy.<br \/>\u041a\u043e\u0433\u0434\u0430 \u043e\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430 \u043f\u0438\u043a\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u0438, \u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u0435\u0449\u0451 \u043d\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<br \/>\u0414\u0430, \u0432\u0441\u0451 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f. \u042d\u0442\u043e \u0438 \u043f\u0440\u0430\u0432\u0434\u0430 \u0443\u0441\u0442\u0430\u0440\u0435\u043b\u043e, \u0432 \u044d\u043f\u043e\u0445\u0443 \u0441\u0438\u0441\u0442\u0435\u043c \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430.<\/p>\n<p><em>\u041d\u043e, \u0432 \u043d\u0430\u0448\u0435\u043c \u043a\u0435\u0439\u0441\u0435 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u043d\u0435\u0442. \u0418 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0437\u0430\u0442\u0440\u0430\u0442\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c.<\/em><\/p>\n<p><strong>Platform MXBeans (Managed Beans)<\/strong> \u2014 \u044d\u0442\u043e \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u0432 Java \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b (JMX-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b) \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0440\u0430\u0431\u043e\u0442\u044b JVM \u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/p>\n<p>\u041f\u043e \u0441\u0443\u0442\u0438 \u044d\u0442\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b.<br \/>\u041f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443 JVM \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 \u044d\u0442\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0441\u0430\u043c\u0430 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<br \/>\u0414\u043e\u0441\u0442\u0430\u0442\u044c \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0447\u0435\u0440\u0435\u0437 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u043a\u043b\u0430\u0441\u0441\u0430 <code>ManagementFactory<\/code>.<br \/>\u0418\u0445 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u044b\u0445, \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0432\u043e\u0439 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043a\u0443\u0441\u043e\u0447\u0435\u043a \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438.<\/p>\n<ul>\n<li>\n<p><code><strong>MemoryMXBean<\/strong><\/code> \u2014 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 Heap \u0438 Non-Heap \u043f\u0430\u043c\u044f\u0442\u0438, \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043f\u0430\u043c\u044f\u0442\u0438.<\/p>\n<\/li>\n<li>\n<p><code><strong>OperatingSystemMXBean<\/strong><\/code> \u2014 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b JVM \u0438 \u0443\u0437\u043d\u0430\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u0445\u043e\u0441\u0442\u0430 (CPU), \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u044f\u0434\u0435\u0440 \u0438 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u0443\u044e \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043f\u0430\u043c\u044f\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n<\/li>\n<li>\n<p><code><strong>ThreadMXBean<\/strong><\/code> \u2014 \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0436\u0438\u0432\u044b\u0445 \u043f\u043e\u0442\u043e\u043a\u043e\u0432 (threads), \u043f\u0438\u043a\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043a\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0443\u043c\u0435\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u0432\u0437\u0430\u0438\u043c\u043d\u044b\u0435 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 (Deadlocks).<\/p>\n<\/li>\n<li>\n<p><code><strong>GarbageCollectorMXBean<\/strong><\/code> \u2014 \u043e\u0442\u0434\u0430\u0451\u0442 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043f\u043e \u0441\u0431\u043e\u0440\u0449\u0438\u043a\u0430\u043c \u043c\u0443\u0441\u043e\u0440\u0430: \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u0438\u0441\u044c \u0438 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434 \u0437\u0430\u043d\u044f\u043b\u0438 \u043f\u0430\u0443\u0437\u044b (Stop-the-world).<\/p>\n<\/li>\n<\/ul>\n<hr\/>\n<h2>\u0421\u0432\u044f\u0437\u044c \u0441 VisualVM, Prometheus<\/h2>\n<p>\u041f\u043e\u0447\u0442\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u043b\u044b\u0448\u0430\u043b \u043f\u0440\u043e VisualVM &#8212; \u0434\u0440\u0435\u0432\u043d\u0438\u0439, \u043d\u043e \u043a\u0440\u0443\u0442\u043e\u0439 \u0441\u043e\u0444\u0442 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f JVM.<\/p>\n<p><strong>\u041b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u044b\u0439 \u0444\u0430\u043a\u0442 \u21161<\/strong><br \/>\u041a\u043e\u0433\u0434\u0430 \u0442\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0448\u044c VisualVM \u043a Java \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0443 &#8212; \u043e\u043d \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u0441\u0442\u0440\u043e\u0438\u0442 \u0433\u0440\u0430\u0444\u0438\u043a\u0438.<br \/>\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441 Java \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043e\u043d \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u043a\u0430\u043a \u0440\u0430\u0437 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u043c MXBeans.<\/p>\n<hr\/>\n<h2>\u0415\u0441\u043b\u0438 \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u0432\u0441\u0451 \u0432\u043c\u0435\u0441\u0442\u0435<\/h2>\n<p>\u041f\u043e \u0441\u0443\u0442\u0438 &#8212; \u0442\u044b \u043c\u043e\u0436\u0435\u0448\u044c \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0442\u043e \u0447\u0442\u043e \u0432\u0438\u0434\u0435\u043b \u0432 VisualVM &#8212; \u043d\u043e \u0431\u0435\u0437 VisualVM.<br \/>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u0434\u043e \u0440\u0443\u0447\u043a\u0430\u043c\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c Endpoint.<br \/>Endpoint \u043e\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 <strong>MXBeans<\/strong> \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u0442\u0430\u0442\u0443\u0441 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u043e\u0442\u0432\u0435\u0442\u0435. <br \/>\u041d\u0438\u0447\u0435\u0433\u043e \u0441\u0432\u0435\u0440\u0445\u044a\u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e, \u043d\u043e \u0434\u0443\u043c\u0430\u044e \u044d\u0442\u043e \u0441\u0442\u043e\u0438\u0442 \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e:<\/p>\n<ol>\n<li>\n<p>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435 \u043d\u0443\u0436\u043d\u043e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u043e\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435 &#8212; \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0441\u0440\u0435\u0434\u044b \u044d\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0441\u044f<\/p>\n<\/li>\n<\/ol>\n<p>\u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 Endpoint-\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e JVM<\/p>\n<pre><code class=\"kotlin\">import org.springframework.web.bind.annotation.GetMappingimport org.springframework.web.bind.annotation.RequestMappingimport org.springframework.web.bind.annotation.RestControllerimport java.lang.management.ManagementFactory@RestController@RequestMapping(\"\/internal\/diagnostics\")class JvmDiagnosticsController {    @GetMapping(\"\/snapshot\")    fun getJvmSnapshot(): Map&lt;String, Any&gt; {        val memory = ManagementFactory.getMemoryMXBean()        val threads = ManagementFactory.getThreadMXBean()        val os = ManagementFactory.getOperatingSystemMXBean()        return mapOf(            \"timestamp\" to System.currentTimeMillis(),            \"memory\" to mapOf(                \"heap_used_mb\" to memory.heapMemoryUsage.used \/ 1024 \/ 1024,                \"heap_max_mb\" to memory.heapMemoryUsage.max \/ 1024 \/ 1024,                \"non_heap_used_mb\" to memory.nonHeapMemoryUsage.used \/ 1024 \/ 1024            ),            \"threads\" to mapOf(                \"live\" to threads.threadCount,                \"peak\" to threads.peakThreadCount,                \"deadlocked_count\" to (threads.findDeadlockedThreads()?.size ?: 0)            ),            \"system\" to mapOf(                \"cpu_load_pct\" to (os.systemLoadAverage * 100).toInt(),                \"available_processors\" to os.availableProcessors            )        )    }}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><strong>\u041b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u044b\u0439 \u0444\u0430\u043a\u0442 \u21162<\/strong><br \/>\u0415\u0441\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430 \u044d\u0442\u0438\u0445 \u0436\u0435 \u043c\u0435\u0442\u0440\u0438\u043a <strong>MXBean<\/strong> \u0438\u0437 Java-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 <strong>Prometheus<\/strong>. \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u043c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u044b <a href=\"https:\/\/github.com\/prometheus\/jmx_exporter\" rel=\"noopener noreferrer nofollow\"><strong>Prometheus JMX Exporter<\/strong><\/a>  <\/p>\n<h2>P.S.<\/h2>\n<p>\u041d\u0435 \u043d\u0430\u0434\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431 \u0441 Endpoint-\u043e\u043c \u043a\u0430\u043a \u043e\u0441\u043d\u043e\u0432\u0443. <br \/>\u041b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0447\u0442\u043e-\u0442\u043e \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0435. <br \/>Prometheus, Micrometer, Spring Actuator.<br \/>\u041d\u043e \u0435\u0441\u043b\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435\u0442 &#8212; \u0435\u0441\u0442\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u0430\u044f \u043f\u0430\u043b\u043e\u0447\u043a\u0430-\u0432\u044b\u0440\u0443\u0447\u0430\u043b\u043e\u0447\u043a\u0430.<\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1047660\/\">https:\/\/habr.com\/ru\/articles\/1047660\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0411\u044b\u0432\u0430\u0435\u0442 \u043d\u0430\u0434\u043e \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u044c JVM. \u0423\u0432\u0438\u0434\u0435\u0442\u044c CPU, \u044f\u0434\u0440\u0430, \u043f\u043e\u0442\u043e\u043a\u0438, \u0430 \u0447\u0430\u0449\u0435 heapMemory \u2014 \u043d\u043e \u0443 \u0442\u0435\u0431\u044f \u043d\u0438\u0447\u0435\u0433\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u0442. \u041d\u0438 Prometheus, \u043d\u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430. \u0415\u0449\u0451 \u043d\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435. Backender \u0431\u0435\u0437 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430\u041a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c JVM \u043d\u0430 \u043a\u043e\u043b\u0435\u043d\u043a\u0435?\u0415\u0441\u0442\u044c \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0432 \u043b\u044e\u0431\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445.\u041d\u0430 localhost.\u041d\u0430 \u0441\u0442\u0435\u043d\u0434\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.\u041d\u0430 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432\u043e\u043c \u0441\u0442\u0435\u043d\u0434\u0435 (\u043d\u043e \u0442\u0443\u0442 \u043d\u0430 \u0441\u0432\u043e\u0439 \u0441\u0442\u0440\u0430\u0445 \u0438 \u0440\u0438\u0441\u043a \u2014 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0439\u0442\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0435\u0439).\u0418 \u0437\u0434\u0435\u0441\u044c \u043c\u043d\u0435 \u043e\u0434\u043d\u0430\u0436\u0434\u044b \u043f\u043e\u043c\u043e\u0433&#8230;Custom endpoint, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u0434\u0430\u0451\u0442 \u0441\u043d\u0438\u043c\u043e\u043a \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f Java Platform MXBeans.MXBeans\u0415\u0441\u043b\u0438 \u043d\u0430\u0447\u0430\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c \u043f\u0440\u043e MXBeans &#8212; \u0432\u044b \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0430\u0447\u0438\u0442\u0430\u0435\u0442\u0435, \u0447\u0442\u043e \u044d\u0442\u043e \u043a\u0430\u043a\u043e\u0435-\u0442\u043e Legacy.\u041a\u043e\u0433\u0434\u0430 \u043e\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430 \u043f\u0438\u043a\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u0438, \u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u0435\u0449\u0451 \u043d\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.\u0414\u0430, \u0432\u0441\u0451 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f. \u042d\u0442\u043e \u0438 \u043f\u0440\u0430\u0432\u0434\u0430 \u0443\u0441\u0442\u0430\u0440\u0435\u043b\u043e, \u0432 \u044d\u043f\u043e\u0445\u0443 \u0441\u0438\u0441\u0442\u0435\u043c \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430.\u041d\u043e, \u0432 \u043d\u0430\u0448\u0435\u043c \u043a\u0435\u0439\u0441\u0435 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u043d\u0435\u0442. \u0418 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0437\u0430\u0442\u0440\u0430\u0442\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c.Platform MXBeans (Managed Beans) \u2014 \u044d\u0442\u043e \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u0432 Java \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b (JMX-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b) \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0440\u0430\u0431\u043e\u0442\u044b JVM \u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.\u041f\u043e \u0441\u0443\u0442\u0438 \u044d\u0442\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b.\u041f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443 JVM \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 \u044d\u0442\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0441\u0430\u043c\u0430 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.\u0414\u043e\u0441\u0442\u0430\u0442\u044c \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0447\u0435\u0440\u0435\u0437 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u043a\u043b\u0430\u0441\u0441\u0430 ManagementFactory.\u0418\u0445 \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u044b\u0445, \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0432\u043e\u0439 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043a\u0443\u0441\u043e\u0447\u0435\u043a \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438.MemoryMXBean \u2014 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 Heap \u0438 Non-Heap \u043f\u0430\u043c\u044f\u0442\u0438, \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043f\u0430\u043c\u044f\u0442\u0438.OperatingSystemMXBean \u2014 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b JVM \u0438 \u0443\u0437\u043d\u0430\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u0445\u043e\u0441\u0442\u0430 (CPU), \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u044f\u0434\u0435\u0440 \u0438 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u0443\u044e \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043f\u0430\u043c\u044f\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u0430.ThreadMXBean \u2014 \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0436\u0438\u0432\u044b\u0445 \u043f\u043e\u0442\u043e\u043a\u043e\u0432 (threads), \u043f\u0438\u043a\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043a\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0443\u043c\u0435\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u0432\u0437\u0430\u0438\u043c\u043d\u044b\u0435 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 (Deadlocks).GarbageCollectorMXBean \u2014 \u043e\u0442\u0434\u0430\u0451\u0442 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043f\u043e \u0441\u0431\u043e\u0440\u0449\u0438\u043a\u0430\u043c \u043c\u0443\u0441\u043e\u0440\u0430: \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u0438\u0441\u044c \u0438 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434 \u0437\u0430\u043d\u044f\u043b\u0438 \u043f\u0430\u0443\u0437\u044b (Stop-the-world).\u0421\u0432\u044f\u0437\u044c \u0441 VisualVM, Prometheus\u041f\u043e\u0447\u0442\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u043b\u044b\u0448\u0430\u043b \u043f\u0440\u043e VisualVM &#8212; \u0434\u0440\u0435\u0432\u043d\u0438\u0439, \u043d\u043e \u043a\u0440\u0443\u0442\u043e\u0439 \u0441\u043e\u0444\u0442 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f JVM.\u041b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u044b\u0439 \u0444\u0430\u043a\u0442 \u21161\u041a\u043e\u0433\u0434\u0430 \u0442\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0448\u044c VisualVM \u043a Java \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0443 &#8212; \u043e\u043d \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u0441\u0442\u0440\u043e\u0438\u0442 \u0433\u0440\u0430\u0444\u0438\u043a\u0438.\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441 Java \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043e\u043d \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u043a\u0430\u043a \u0440\u0430\u0437 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u043c MXBeans.\u0415\u0441\u043b\u0438 \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u0432\u0441\u0451 \u0432\u043c\u0435\u0441\u0442\u0435\u041f\u043e \u0441\u0443\u0442\u0438 &#8212; \u0442\u044b \u043c\u043e\u0436\u0435\u0448\u044c \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0442\u043e \u0447\u0442\u043e \u0432\u0438\u0434\u0435\u043b \u0432 VisualVM &#8212; \u043d\u043e \u0431\u0435\u0437 VisualVM.\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u0434\u043e \u0440\u0443\u0447\u043a\u0430\u043c\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c Endpoint.Endpoint \u043e\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 MXBeans \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u0442\u0430\u0442\u0443\u0441 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u043e\u0442\u0432\u0435\u0442\u0435. \u041d\u0438\u0447\u0435\u0433\u043e \u0441\u0432\u0435\u0440\u0445\u044a\u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e, \u043d\u043e \u0434\u0443\u043c\u0430\u044e \u044d\u0442\u043e \u0441\u0442\u043e\u0438\u0442 \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e:\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.\u041d\u0435 \u043d\u0443\u0436\u043d\u043e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u043e\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435 &#8212; \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0441\u0440\u0435\u0434\u044b \u044d\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0441\u044f\u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 Endpoint-\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e JVMimport org.springframework.web.bind.annotation.GetMappingimport org.springframework.web.bind.annotation.RequestMappingimport org.springframework.web.bind.annotation.RestControllerimport java.lang.management.ManagementFactory@RestController@RequestMapping(&#171;\/internal\/diagnostics&#187;)class JvmDiagnosticsController {    @GetMapping(&#171;\/snapshot&#187;)    fun getJvmSnapshot(): Map&lt;String, Any&gt; {        val memory = ManagementFactory.getMemoryMXBean()        val threads = ManagementFactory.getThreadMXBean()        val os = ManagementFactory.getOperatingSystemMXBean()        return mapOf(            &#171;timestamp&#187; to System.currentTimeMillis(),            &#171;memory&#187; to mapOf(                &#171;heap_used_mb&#187; to memory.heapMemoryUsage.used \/ 1024 \/ 1024,                &#171;heap_max_mb&#187; to memory.heapMemoryUsage.max \/ 1024 \/ 1024,                &#171;non_heap_used_mb&#187; to memory.nonHeapMemoryUsage.used \/ 1024 \/ 1024            ),            &#171;threads&#187; to mapOf(                &#171;live&#187; to threads.threadCount,                &#171;peak&#187; to threads.peakThreadCount,                &#171;deadlocked_count&#187; to (threads.findDeadlockedThreads()?.size ?: 0)            ),            &#171;system&#187; to mapOf(                &#171;cpu_load_pct&#187; to (os.systemLoadAverage * 100).toInt(),                &#171;available_processors&#187; to os.availableProcessors            )        )    }}\u041b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u044b\u0439 \u0444\u0430\u043a\u0442 \u21162\u0415\u0441\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430 \u044d\u0442\u0438\u0445 \u0436\u0435 \u043c\u0435\u0442\u0440\u0438\u043a MXBean \u0438\u0437 Java-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 Prometheus. \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u043c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u044b Prometheus JMX Exporter  P.S.\u041d\u0435 \u043d\u0430\u0434\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431 \u0441 Endpoint-\u043e\u043c \u043a\u0430\u043a \u043e\u0441\u043d\u043e\u0432\u0443. \u041b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0447\u0442\u043e-\u0442\u043e \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0435. Prometheus, Micrometer, Spring Actuator.\u041d\u043e \u0435\u0441\u043b\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435\u0442 &#8212; \u0435\u0441\u0442\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u0430\u044f \u043f\u0430\u043b\u043e\u0447\u043a\u0430-\u0432\u044b\u0440\u0443\u0447\u0430\u043b\u043e\u0447\u043a\u0430.\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1047660\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-483672","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/483672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=483672"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/483672\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=483672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=483672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=483672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}