Hadoop Metrics2 PrometheusmetricsSink的示例
是否有一个使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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.