zipkin服務端高可用
阿新 • • 發佈:2018-01-15
url tid artifact end -- 可用 man client pid server:
port: 9412
spring:
application:
name: unieap-zipkin-client
zipkin:
enabled: true
base-url: http://unieap-zipkin-server/
locator:
discovery:
enabled: true <artifactId>platform-bom</artifactId>
<version>Brussels-SR6</version><!-- Brussels-SR4 -->
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Edgware.RELEASE</version> <!-- Dalston.SR3 Dalston.SR2 --> <!-- Dalston.SR3 --> <!-- Edgware.RELEASE -->
<type>pom</type>
<scope>import</scope>
</dependency>
port: 9412
spring:
application:
name: unieap-zipkin-client
zipkin:
enabled: true
base-url: http://unieap-zipkin-server/
locator:
discovery:
enabled: true
unieap-zipkin-server為eureka服務註冊中心地址。
需要以下依賴
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.spring.platform</groupId>
<version>Brussels-SR6</version><!-- Brussels-SR4 -->
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
zipkin服務端高可用