集成skywalking打印traceId必须的包

This commit is contained in:
dark 2021-03-06 01:59:35 +08:00
parent 6dde9095a4
commit 0997e456e7

13
pom.xml
View File

@ -37,6 +37,7 @@
<resilience4j.version>1.7.0</resilience4j.version>
<!-- 监控相关 -->
<skywalking.version>8.3.0</skywalking.version>
<logback.encoder.version>6.1</logback.encoder.version>
<spring-boot-admin.version>2.3.1</spring-boot-admin.version>
<!-- 工具类相关 -->
<lombok.version>1.16.14</lombok.version>
@ -158,6 +159,18 @@
<artifactId>apm-toolkit-trace</artifactId>
<version>${skywalking.version}</version>
</dependency>
<dependency>
<groupId>org.apache.skywalking</groupId>
<artifactId>apm-toolkit-logback-1.x</artifactId>
<version>${skywalking.version}</version>
</dependency>
<!-- sky-walking日志相关 -->
<dependency>
<groupId>net.logstash.logback</groupId>
<artifactId>logstash-logback-encoder</artifactId>
<version>${logback.encoder.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>