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 | 8 | import org.springframework.context.annotation.Bean; |
| 9 | 9 | import org.springframework.context.annotation.Configuration; |
| 10 | 10 | |
| 11 | +/** | |
| 12 | + * BizTracer Bean 配置类 | |
| 13 | + * | |
| 14 | + * @author mashu | |
| 15 | + */ | |
| 11 | 16 | @Configuration |
| 12 | 17 | @ConditionalOnClass({BizTracingAop.class}) |
| 13 | 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 | 3 | import lombok.Data; |
| 4 | 4 | import org.springframework.boot.context.properties.ConfigurationProperties; |
| 5 | 5 | |
| 6 | +/** | |
| 7 | + * BizTracer配置类 | |
| 8 | + * | |
| 9 | + * @author 麻薯 | |
| 10 | + */ | |
| 6 | 11 | @ConfigurationProperties("yudao.tracer") |
| 7 | 12 | @Data |
| 8 | 13 | public class BizTracerProperties { | ... | ... |