Commit 76d91ac7db2855e1daca8abaeff459065bcd70bc
1 parent
00bcb50b
添加注释
Showing
2 changed files
with
10 additions
and
0 deletions
src/main/java/cn/iocoder/dashboard/framework/tracer/config/BizTracerAutoConfiguration.java
| @@ -8,6 +8,11 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties | @@ -8,6 +8,11 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties | ||
| 8 | import org.springframework.context.annotation.Bean; | 8 | import org.springframework.context.annotation.Bean; |
| 9 | import org.springframework.context.annotation.Configuration; | 9 | import org.springframework.context.annotation.Configuration; |
| 10 | 10 | ||
| 11 | +/** | ||
| 12 | + * BizTracer Bean 配置类 | ||
| 13 | + * | ||
| 14 | + * @author mashu | ||
| 15 | + */ | ||
| 11 | @Configuration | 16 | @Configuration |
| 12 | @ConditionalOnClass({BizTracingAop.class}) | 17 | @ConditionalOnClass({BizTracingAop.class}) |
| 13 | @EnableConfigurationProperties(BizTracerProperties.class) | 18 | @EnableConfigurationProperties(BizTracerProperties.class) |
src/main/java/cn/iocoder/dashboard/framework/tracer/config/BizTracerProperties.java
| @@ -3,6 +3,11 @@ package cn.iocoder.dashboard.framework.tracer.config; | @@ -3,6 +3,11 @@ package cn.iocoder.dashboard.framework.tracer.config; | ||
| 3 | import lombok.Data; | 3 | import lombok.Data; |
| 4 | import org.springframework.boot.context.properties.ConfigurationProperties; | 4 | import org.springframework.boot.context.properties.ConfigurationProperties; |
| 5 | 5 | ||
| 6 | +/** | ||
| 7 | + * BizTracer配置类 | ||
| 8 | + * | ||
| 9 | + * @author 麻薯 | ||
| 10 | + */ | ||
| 6 | @ConfigurationProperties("yudao.tracer") | 11 | @ConfigurationProperties("yudao.tracer") |
| 7 | @Data | 12 | @Data |
| 8 | public class BizTracerProperties { | 13 | public class BizTracerProperties { |