部署zipkin-server

Storage:mysql-5.7

Collector:RabbitMQ-3.6.15

System:Windows7/CentOS7

一、创建启动脚本

@ECHO OFF
set RABBIT_ADDRESSES=192.168.4.110:5672
set RABBIT_USER=rabbituser
set RABBIT_PASSWORD=hdxy123
set STORAGE_TYPE=mysql
set MYSQL_HOST=192.168.4.110
set MYSQL_TCP_PORT=3306
set MYSQL_USER=root
set MYSQL_PASS=hdxy123
set MYSQL_DB=zipkin
set MYSQL_USE_SSL=false
::windows 10 64bit版本,默认参数启动zipkin server 会报错,Native memory allocation (malloc) failed to allocate 360816 bytes for Chunk::new
::需要增加ReservedCodeCacheSize大小
::linux shell暂未尝试
set JAVA_OPTS="-XX:ReservedCodeCacheSize=64m" 
java -jar zipkin-server-2.11.7-exec.jar

执行启动脚本,启动zipkin-server,通过浏览器访问http://localhost:9411/zipkin

你可能感兴趣的:(部署zipkin-server)