mirror of https://gitee.com/maxjhandsome/pig
zipkin-db 修改
This commit is contained in:
parent
b83c651f8e
commit
9ac23d0730
|
@ -50,4 +50,16 @@
|
||||||
<artifactId>spring-boot-starter-jdbc</artifactId>
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<finalName>${project.name}</finalName>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
</project>
|
</project>
|
|
@ -2,7 +2,7 @@ package com.github.pig.zipkin;
|
||||||
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||||
import zipkin.server.EnableZipkinServer;
|
import zipkin.server.EnableZipkinServer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -10,8 +10,8 @@ import zipkin.server.EnableZipkinServer;
|
||||||
* @date 2018-01-24
|
* @date 2018-01-24
|
||||||
* zipkin mysql 存储实现
|
* zipkin mysql 存储实现
|
||||||
*/
|
*/
|
||||||
|
@EnableDiscoveryClient
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
@EnableEurekaClient
|
|
||||||
@EnableZipkinServer
|
@EnableZipkinServer
|
||||||
public class PigZipkinDbApplication {
|
public class PigZipkinDbApplication {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|
Loading…
Reference in New Issue