js网站下拉置顶代码,百度收录提交入口网址是什么,找工作哪个网站好58同城,有网址的公司这里要求zookeeper版本必须达到3.6或以上#xff0c;用的是官方自带的监控信息。
官方下载地址 https://zookeeper.apache.org/releases.html#download
然后在zookeeper的配置文件#xff0c;比如zoo.cfg最后面加上这一段
metricsProvider.classNameorg.apache.zookeeper.…这里要求zookeeper版本必须达到3.6或以上用的是官方自带的监控信息。
官方下载地址 https://zookeeper.apache.org/releases.html#download
然后在zookeeper的配置文件比如zoo.cfg最后面加上这一段
metricsProvider.classNameorg.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider
metricsProvider.httpPort7000
metricsProvider.exportJvmInfotrue比如就把7000端口暴露出来为监控用
然后在普米配置文件配置即可
- job_name: zookeeper-monitorstatic_configs:- targets: [x.x.x.x:7000]labels: { job: zookeeper, region: xxx环境}