🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
在pom文件中添加依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-sleuth</artifactId> </dependency> 调整下日志级别: logging: level: org.springframework.cloud.openfeign: debug 可视化工具: Zipkin 官网:https://zipkin.io/ 快速开始: Docker The Docker Zipkin project is able to build docker images, provide scripts and a docker-compose.yml for launching pre-built images. The quickest start is to run the latest image directly: docker run -d -p 9411:9411 openzipkin/zipkin Java If you have Java 8 or higher installed, the quickest way to get started is to fetch the latest release as a self-contained executable jar: curl -sSL https://zipkin.io/quickstart.sh | bash -s java -jar zipkin.jar Running from Source Zipkin can be run from source if you are developing new features. To achieve this, you’ll need to get Zipkin’s source and build it. # get the latest source git clone https://github.com/openzipkin/zipkin cd zipkin # Build the server and also make its dependencies ./mvnw -DskipTests --also-make -pl zipkin-server clean install # Run the server java -jar ./zipkin-server/target/zipkin-server-*exec.jar 我们使用docker的方式启动: ![](https://box.kancloud.cn/9896e31681c3261bfb7437f7059af75b_534x152.png)