{"height":"190","description":"\u6bce\u5ea6\u5fd8\u308c\u3066\u305d\u306e\u305f\u3073\u306b\u8272\u3005\u691c\u7d22\u3059\u308b\u306e\u3067\u30d6\u30ed\u30b0\u306b\u30e1\u30e2\u3057\u3066\u304a\u304f\u3002 \u7d50\u8ad6\u304b\u3089\u66f8\u304f\u3068offset modifier\u3092\u4f7f\u3046\u3068\u5b9f\u73fe\u3067\u304d\u308b\u3002 prometheus.io \u4f8b\u3048\u3070\u3001example\u30b5\u30fc\u30d0\u306e5\u5206\u9593\u306eCPU\u306e%idle\u3092\u53d6\u308a\u305f\u3044\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304f\u3068\u601d\u3046\u3002 sum by (mode)(irate(node_cpu_seconds_total{mode=\"idle\", instance=\"example\"}[5m])) 7\u65e5\u524d\u306e\u540c\u3058\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u305f\u3044\u5834\u5408\u306f\u3001 offset 7d \u3092\u4ed8\u4e0e\u3059\u308b\u3002 sum by (mode)(irate(node_cpu_seconds_total{mode=\"idle\", \u2026","title":"PromQL\u3067N\u65e5\u524d\u306e\u30b0\u30e9\u30d5\u3068\u6bd4\u8f03\u3059\u308b","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/buty4649/20220620/20220620164630.png","author_url":"https://blog.hatena.ne.jp/buty4649/","author_name":"buty4649","categories":["PromQL","mackerel"],"type":"rich","url":"https://tech.buty4649.net/entry/2022/06/20/165851","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.buty4649.net%2Fentry%2F2022%2F06%2F20%2F165851\" title=\"PromQL\u3067N\u65e5\u524d\u306e\u30b0\u30e9\u30d5\u3068\u6bd4\u8f03\u3059\u308b - \u3076\u3066\u3044\u306e\u30ed\u30b0\u3067\u3076\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2022-06-20 16:58:51","blog_title":"\u3076\u3066\u3044\u306e\u30ed\u30b0\u3067\u3076\u30ed\u30b0","provider_url":"https://hatena.blog","blog_url":"https://tech.buty4649.net/","version":"1.0","width":"100%","provider_name":"Hatena Blog"}