Commit 0997e456e7f79bfdac74bd4678638226f2b35af4

Authored by dark
1 parent 6dde9095

集成skywalking打印traceId必须的包

Showing 1 changed file with 14 additions and 1 deletions
... ... @@ -2,7 +2,7 @@
2 2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5   - <modelVersion>4.0.0</modelVersion>
  5 + <modelVersion>4.0.0</modelVersion>
6 6  
7 7 <groupId>cn.iocoder</groupId>
8 8 <artifactId>dashboard</artifactId>
... ... @@ -37,6 +37,7 @@
37 37 <resilience4j.version>1.7.0</resilience4j.version>
38 38 <!-- 监控相关 -->
39 39 <skywalking.version>8.3.0</skywalking.version>
  40 + <logback.encoder.version>6.1</logback.encoder.version>
40 41 <spring-boot-admin.version>2.3.1</spring-boot-admin.version>
41 42 <!-- 工具类相关 -->
42 43 <lombok.version>1.16.14</lombok.version>
... ... @@ -158,6 +159,18 @@
158 159 <artifactId>apm-toolkit-trace</artifactId>
159 160 <version>${skywalking.version}</version>
160 161 </dependency>
  162 + <dependency>
  163 + <groupId>org.apache.skywalking</groupId>
  164 + <artifactId>apm-toolkit-logback-1.x</artifactId>
  165 + <version>${skywalking.version}</version>
  166 + </dependency>
  167 + <!-- sky-walking日志相关 -->
  168 + <dependency>
  169 + <groupId>net.logstash.logback</groupId>
  170 + <artifactId>logstash-logback-encoder</artifactId>
  171 + <version>${logback.encoder.version}</version>
  172 + <scope>provided</scope>
  173 + </dependency>
161 174  
162 175 <dependency>
163 176 <groupId>de.codecentric</groupId>
... ...