{"id":472,"date":"2026-07-03T19:31:59","date_gmt":"2026-07-03T10:31:59","guid":{"rendered":"https:\/\/www.marchboy.xyz\/wordpress\/archives\/472"},"modified":"2026-07-04T19:09:08","modified_gmt":"2026-07-04T10:09:08","slug":"grafana%e3%81%a8%e3%81%af%e4%bd%95%e3%81%8b%ef%bc%9f%e6%a6%82%e8%a6%81%e3%81%a8%e6%b4%bb%e7%94%a8%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.marchboy.xyz\/wordpress\/archives\/472","title":{"rendered":"Grafana\u3068\u306f\u4f55\u304b\uff1f\u6982\u8981\u3068\u6d3b\u7528\u6cd5"},"content":{"rendered":"<h2>Grafana\u3068\u306f<\/h2>\n<p>Grafana\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u53ef\u8996\u5316\u30c4\u30fc\u30eb\u3067\u3001\u6642\u7cfb\u5217\u30c7\u30fc\u30bf\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u4f5c\u6210\u306b\u7279\u5316\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u4e3b\u306a\u7279\u5fb4<\/h2>\n<ul>\n<li><strong>\u8c4a\u5bcc\u306a\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9<\/strong>\uff1aPrometheus\u3001InfluxDB\u3001Elasticsearch \u306a\u3069\u591a\u6570\u3002<\/li>\n<li><strong>\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd\u306a\u30d1\u30cd\u30eb<\/strong>\uff1aGraph\u3001Gauge\u3001Heatmap \u306a\u3069\u591a\u5f69\u3002<\/li>\n<li><strong>\u30a2\u30e9\u30fc\u30c8\u6a5f\u80fd<\/strong>\uff1a\u6761\u4ef6\u306b\u5fdc\u3058\u3066\u30e1\u30fc\u30eb\u3084Slack\u3078\u901a\u77e5\u3002<\/li>\n<li><strong>\u30d7\u30e9\u30b0\u30a4\u30f3\u62e1\u5f35<\/strong>\uff1a\u516c\u5f0f\u30fb\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u88fd\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u6a5f\u80fd\u8ffd\u52a0\u3002<\/li>\n<\/ul>\n<h2>\u57fa\u672c\u7684\u306a\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u624b\u9806<\/h2>\n<h3>1. \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u516c\u5f0f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5229\u7528\u3059\u308b\u304b Docker \u30b3\u30f3\u30c6\u30ca\u3067\u7c21\u5358\u306b\u8d77\u52d5\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code>docker run -d -p 3000:3000 --name=grafana grafana\/grafana<\/code><\/pre>\n<h3>2. \u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u306e\u8ffd\u52a0<\/h3>\n<p>\u7ba1\u7406\u753b\u9762\u306e\u300cConfiguration\u300d&gt;\u300cData Sources\u300d\u304b\u3089\u63a5\u7d9a\u3057\u305f\u3044\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u9078\u629e\u3057\u3001URL\u30fb\u8a8d\u8a3c\u60c5\u5831\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h3>3. \u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u4f5c\u6210<\/h3>\n<p>\u300cCreate\u300d&gt;\u300cDashboard\u300d\u304b\u3089\u30d1\u30cd\u30eb\u3092\u8ffd\u52a0\u3057\u3001\u30af\u30a8\u30ea\u3092\u8a18\u8ff0\u3057\u3066\u53ef\u8996\u5316\u3057\u307e\u3059\u3002\u4f8b\u3068\u3057\u3066 Prometheus \u306e CPU \u4f7f\u7528\u7387\u3092\u8868\u793a\u3059\u308b\u30af\u30a8\u30ea\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre><code>rate(node_cpu_seconds_total{mode=\"system\"}[5m])<\/code><\/pre>\n<h2>\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/h2>\n<ul>\n<li>\u30d1\u30cd\u30eb\u306f\u76ee\u7684\u306b\u5408\u308f\u305b\u3066\u9069\u5207\u306a\u53ef\u8996\u5316\u30bf\u30a4\u30d7\u3092\u9078\u3076\u3002<\/li>\n<li>\u5909\u6570\u3092\u6d3b\u7528\u3057\u3066\u518d\u5229\u7528\u53ef\u80fd\u306a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5316\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u4f5c\u308b\u3002<\/li>\n<li>\u30a2\u30e9\u30fc\u30c8\u306f\u95be\u5024\u3060\u3051\u3067\u306a\u304f\u3001\u901a\u77e5\u30c1\u30e3\u30cd\u30eb\u3068\u9023\u643a\u3055\u305b\u3066\u904b\u7528\u30d5\u30ed\u30fc\u3092\u6574\u5099\u3059\u308b\u3002<\/li>\n<li>\u5b9a\u671f\u7684\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u5f97\u3057\u3001Git \u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3059\u308b\u3068\u5b89\u5168\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Grafana\u3068\u306f Grafana\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u53ef\u8996\u5316\u30c4\u30fc\u30eb\u3067\u3001\u6642\u7cfb\u5217\u30c7\u30fc\u30bf\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u4f5c\u6210\u306b\u7279\u5316\u3057\u3066\u3044\u307e\u3059\u3002 \u4e3b\u306a\u7279\u5fb4 \u8c4a\u5bcc\u306a\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\uff1aPrometheus\u3001InfluxDB\u3001Elasticsearch \u306a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-472","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/comments?post=472"}],"version-history":[{"count":1,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/472\/revisions"}],"predecessor-version":[{"id":479,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/472\/revisions\/479"}],"wp:attachment":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/media?parent=472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/categories?post=472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/tags?post=472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}