Hadoop Metrics2 PrometheusmetricsSink的示例

发布于 2025-01-31 04:51:39 字数 238 浏览 3 评论 0原文

是否有一个使用HadoopMetrics2属性设置PrometheusmetricsSink的示例?随附的属性文件仅具有FilesInk,GraphitesInk和Ganglia的属性,在ProperMeMetricsSink上没有任何属性。

我想要的是使Hadoop指标与Prometheus兼容,以便我可以使用Prometheus scrape显示仪表板。 如果我可以将这些方法与其他Apache产品(如Accumulo)一起使用,那就太好了。

Is there an example of setting up PrometheusMetricsSink with hadoopMetrics2 properties? The properties file that came with has only properties for FileSink, GraphiteSink and Ganglia, nothing on propermteusmetricssink.

All i want is to get hadoop metrics compatible with prometheus so that I can use prometheus scrape to display dashboard.
It will be great if I can use thes approach with other apache products like accumulo.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

紙鸢 2025-02-07 04:51:39

Prometheus不是水槽。它来自刮擦目标。

您会添加 jmx oxporter hadoop的单个JVM组件,等),然后配置Prometheus Scrape_Configs从其中读取。

Prometheus isn't a sink; it polls from scrape targets.

You'd add the JMX Exporter to the individual JVM components of Hadoop (Datanode, NameNode, ResourceManager, NodeManager, etc), then configure Prometheus scrape_configs to read from each of those.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文