code 👌 Updating code due to code review changes.
This commit is contained in:
1 parent
81960c57c9
commit
fbd44d0b1e
2 files changed
+11
-8
No files matched your search
@@ -26,15 +26,18 @@
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-config</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-jdbc</artifactId>
|
||||
</dependency>
|
||||
<!--zipkin-->
|
||||
<dependency>
|
||||
<groupId>io.zipkin.java</groupId>
|
||||
<artifactId>zipkin-server</artifactId>
|
||||
<version>${zipkin.version}</version>
|
||||
<!--排除log4j2 避免和logback冲突警告-->
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-log4j2</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.zipkin.java</groupId>
|
||||
|
||||
+4
-4
@@ -9,13 +9,13 @@ import zipkin2.server.internal.EnableZipkinServer;
|
||||
import javax.sql.DataSource;
|
||||
|
||||
/**
|
||||
* @author 仙(๑ • ㅂ • ́)و✧酱
|
||||
* @date 2019/2/22
|
||||
* <p>
|
||||
* 服务链路追踪
|
||||
*
|
||||
* @author: 仙(๑ • ㅂ • ́)و✧酱
|
||||
* @date: 2019/2/22
|
||||
*/
|
||||
@SpringCloudApplication
|
||||
@EnableZipkinServer
|
||||
@SpringCloudApplication
|
||||
public class PigxZipkinApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(PigxZipkinApplication.class, args);
|
||||
|
||||
Reference in new issue
Block a user