{"id":248969,"date":"2022-08-05T09:00:28","date_gmt":"2022-08-05T01:00:28","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=248969"},"modified":"2022-07-26T23:58:13","modified_gmt":"2022-07-26T15:58:13","slug":"categraf-linux-java","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/categraf-linux-java.html","title":{"rendered":"Categraf v0.2.5 \u7248\u672c\u53d1\u5e03"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nCategraf v0.2.5 \u7248\u672c\u53d1\u5e03\uff0c\u6846\u67b6\u8c03\u4f18\uff0c\u6269\u5c55\u76d1\u63a7\u91c7\u96c6\u63d2\u4ef6\u66f4\u52a0\u7b80\u5355\u4e86<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

Categraf v0.2.5 \u66f4\u65b0\u5185\u5bb9<\/strong><\/div>\n

\u505a\u4e86\u91cd\u5927\u91cd\u6784\uff0c\u628a\u5f88\u591a\u63d2\u4ef6\u4fa7\u7684\u4ee3\u7801\u63d0\u53d6\u5230\u4e86\u6846\u67b6\u5c42\uff0c\u5199\u76d1\u63a7\u63d2\u4ef6\u7684\u4ee3\u4ef7\u66f4\u5c0f\u4e86\uff0c\u4ee3\u7801\u770b\u8d77\u6765\u4e5f\u66f4\u5e72\u51c0\u4e86<\/p>\n

\u5728\u6846\u67b6\u4fa7\u505a\u4e86\u4e00\u4e9b\u901a\u7528\u7684\u903b\u8f91\uff0c\u6bd4\u5982\uff1a<\/p>\n

  • \u6240\u6709\u7684\u63d2\u4ef6\u90fd\u652f\u6301\u914d\u7f6e labels\uff0c\u53ef\u4ee5\u4e3a\u65f6\u5e8f\u6570\u636e\u9644\u52a0\u4e00\u4e9b\u81ea\u5b9a\u4e49\u6807\u7b7e<\/li>\n
  • \u6240\u6709\u63d2\u4ef6\u90fd\u53ef\u4ee5\u901a\u8fc7 interval \u548c interval_times \u914d\u7f6e\uff0c\u6765\u63a7\u5236\u6267\u884c\u9891\u7387<\/li>\n
  • \u6240\u6709\u63d2\u4ef6\u90fd\u652f\u6301 metrics_drop \u548c metrics_pass \u914d\u7f6e\uff0c\u901a\u8fc7\u9ed1\u767d\u540d\u5355\u7684\u65b9\u5f0f\u6765\u8fc7\u6ee4\u76d1\u63a7\u6307\u6807\uff0c\u4e22\u5f03\u4e00\u4e9b\u6ca1\u7528\u7684\u6307\u6807<\/li>\n
  • \u6240\u6709\u63d2\u4ef6\u90fd\u652f\u6301 metrics_name_prefix\uff0c\u53ef\u4ee5\u4e3a\u6307\u6807\u540d\u5b57\u6dfb\u52a0\u524d\u7f00<\/li>\n

    \u6240\u6709\u63d2\u4ef6\u90fd\u652f\u6301 processor_enum \u914d\u7f6e\uff0c\u53ef\u4ee5\u505a value \u6620\u5c04\uff0c\u6bd4\u5982\u91c7\u96c6\u7684\u6570\u636e\u5982\u679c\u662f\u5b57\u7b26\u4e32\u679a\u4e3e\uff0c\u53ef\u4ee5\u8f6c\u6362\u4e3a\u6570\u5b57\uff0c\u8fd9\u5bf9 prometheus \u751f\u6001\u662f\u5fc5\u987b\u7684\uff0c\u56e0\u4e3a prometheus \u751f\u6001\u7684\u65f6\u5e8f\u5e93\u53ea\u80fd\u63a5\u6536\u6570\u503c\u7c7b\u578b\u7684\u6570\u636e<\/p>\n

    Categraf \u662f\u4ec0\u4e48\uff1f<\/strong><\/div>\n

    Categraf \u662f\u4e00\u4e2a\u76d1\u63a7\u91c7\u96c6 Agent\uff0c\u7c7b\u4f3c Telegraf\u3001Grafana-Agent\u3001Datadog-Agent\uff0c\u5e0c\u671b\u5bf9\u6240\u6709\u5e38\u89c1\u76d1\u63a7\u5bf9\u8c61\u63d0\u4f9b\u76d1\u63a7\u6570\u636e\u91c7\u96c6\u80fd\u529b\uff0c\u91c7\u7528 All-in-one \u7684\u8bbe\u8ba1\uff0c\u4e0d\u4f46\u652f\u6301\u6307\u6807\u91c7\u96c6\uff0c\u4e5f\u5e0c\u671b\u652f\u6301\u65e5\u5fd7\u548c\u8c03\u7528\u94fe\u8def\u7684\u6570\u636e\u91c7\u96c6\u3002<\/p>\n

    Categraf \u91c7\u96c6\u5230\u6570\u636e\u53ef\u4ee5\u63a8\u7ed9 Prometheus\u3001VictoriaMetrics\u3001M3DB\u3001InfluxDB\u3001TDEngine \u7b49\uff0c\u5982\u679c\u5927\u5bb6\u89c9\u5f97\u641e\u5f88\u591a\u4e2a exporter \u4e0d\u65b9\u4fbf\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u4e00\u4e0b Categraf\uff0c\u6211\u4eec\u4e0d\u4f46\u5e0c\u671b Categraf \u80fd\u652f\u6301\u4e30\u5bcc\u7684\u91c7\u96c6\u63d2\u4ef6\uff0c\u4e5f\u80fd\u591f\u628a\u6211\u4eec 10 \u5e74\u6765\u7684\u76d1\u63a7\u7cfb\u7edf\u6784\u5efa\u7ecf\u9a8c\u843d\u5730\u5230\u8fd9\u4e2a\u4ea7\u54c1\uff0c\u8ba9\u5927\u5bb6\u4eab\u53d7\u5230\u5f00\u7bb1\u5373\u7528\u7684\u6700\u4f73\u5b9e\u8df5\u3002<\/p>\n

    \u56fd\u5185\u76ee\u524d\u6ca1\u6709\u4e00\u6b3e\u7279\u522b\u597d\u7528\u7684 all-in-one \u7684\u76d1\u63a7\u6570\u636e\u91c7\u96c6\u5668\uff0c\u5e0c\u671b Categraf \u80fd\u80a9\u8d1f\u8fd9\u4e2a\u91cd\u4efb\uff0c\u5728\u5927\u5bb6\u7684\u5171\u540c\u53c2\u4e0e\u4e0b\uff0c\u9010\u6e10\u6253\u78e8\u6210\u4e3a\u4e00\u6b3e\u5f00\u7bb1\u5373\u7528\u7684\u91c7\u96c6\u5668\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

    \u505a\u4e86\u91cd\u5927\u91cd\u6784\uff0c\u628a\u5f88\u591a\u63d2\u4ef6\u4fa7\u7684\u4ee3\u7801\u63d0\u53d6\u5230\u4e86\u6846\u67b6\u5c42\uff0c\u5199\u76d1\u63a7\u63d2\u4ef6\u7684\u4ee3\u4ef7\u66f4\u5c0f\u4e86\uff0c\u4ee3\u7801\u770b\u8d77\u6765\u4e5f\u66f4\u5e72\u51c0\u4e86 \u5728\u6846\u67b6\u4fa7\u505a\u4e86\u4e00\u4e9b […]<\/p>\n","protected":false},"author":362,"featured_media":248943,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-248969","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/248969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/362"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=248969"}],"version-history":[{"count":4,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/248969\/revisions"}],"predecessor-version":[{"id":249009,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/248969\/revisions\/249009"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/248943"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=248969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=248969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=248969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}