dubbo 监控 无图表数据

1、使用github 源码自行编译打包 运行。

github 地址:https://github.com/apache/incubator-dubbo.git 使用2.5.x分支。

2、打包完成后target 目录下会有tar.gz 文件 解压发布在服务器,更改好配置文件后运行

[root@node37 dubbo-monitor-simple-2.5.10]# bin/start.sh

3、dubbo-monitor 监控配置文件内容

[root@node37 dubbo-monitor-simple-2.5.10]# cat conf/dubbo.properties 
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

dubbo.container=log4j,spring,registry,jetty
dubbo.application.name=simple-monitor
dubbo.application.owner=
#dubbo.registry.address=multicast://224.5.6.7:1234
dubbo.registry.address=zookeeper://192.168.0.36:2181
#dubbo.registry.address=redis://127.0.0.1:6379
#dubbo.registry.address=dubbo://127.0.0.1:9090
dubbo.protocol.port=7071
dubbo.jetty.port=8081
dubbo.jetty.directory=${user.home}/monitor
dubbo.charts.directory=${dubbo.jetty.directory}/charts
dubbo.statistics.directory=${user.home}/monitor/statistics
dubbo.log4j.file=logs/dubbo-monitor-simple.log
dubbo.log4j.level=info

4、创建jetty所需要的目录。

[root@node37 monitor]# pwd
/root/monitor
[root@node37 monitor]# ls
charts  statistics

5、重启

[root@node37 dubbo-monitor-simple-2.5.10]# bin/restart.sh

6、访问 就是没有图表数据。。
clipboard.png

有人可以解答一下吗。。

阅读 1.7k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题