其他分享
首页 > 其他分享> > zeppelin监控:Prometheus Monitoring和JMX Monitoring

zeppelin监控:Prometheus Monitoring和JMX Monitoring

作者:互联网

zeppelin监控:Prometheus Monitoring和JMX Monitoring


官方文档地址:
https://zeppelin.apache.org/docs/0.9.0/setup/operation/monitoring.html
zeppelin监控有两种实现方式:

一、Prometheus Monitoring

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<!-- 服务端口。默认为8080,如果已占用,可以修改之 -->
<property>
  <name>zeppelin.server.port</name>
  <value>19090</value>
  <description>Server port.</description>
</property>

<!-- Zeppelin Monitoring -->
<property>
  <name>zeppelin.metric.enable.prometheus</name>
  <value>true</value>
  <description>Anonymous user allowed by default</description>
</property>
</configuration>

二、浏览器查看Prometheus Monitoring输出的zeppelin监控指标

三、JMX Monitoring

export ZEPPELIN_JMX_ENABLE=true
export ZEPPELIN_JMX_PORT=9996

四、安装JMX导出器

安装JMX导出器监控JMX指标可以我的这篇监控debezium指标的做法:

安装JMX导出器步骤如下:

mkdir -p /opt/jmx/
cd /opt/jmx/
wget  https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.16.1/jmx_prometheus_javaagent-0.16.1.jar
mv jmx_prometheus_javaagent-0.16.1.jar jmx-exporter.jar

标签:jmx,Monitoring,Prometheus,prometheus,zeppelin,JMX
来源: https://blog.csdn.net/zhengzaifeidelushang/article/details/119176410