-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support dubbo #183
Support dubbo #183
Conversation
sync code from upstream
# Conflicts: # pom.xml # tracer-core/src/main/java/com/alipay/common/tracer/core/span/CommonSpanTags.java
<dependency> | ||
<groupId>com.alibaba</groupId> | ||
<artifactId>dubbo</artifactId> | ||
<version>2.6.0</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个2.6.0 是为了?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个2.6.0 是为了?
这个和 Dubbo 插件依赖没有关系。这是 SOFARPC 的依赖版本
// 这里强制刷一次 | ||
appender.flush(); | ||
} catch (Throwable t) { | ||
SelfLog.error("统计日志<" + statTracerName + ">输出异常", t); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
换成英文
// 这里强制刷一次 | ||
appender.flush(); | ||
} catch (Throwable t) { | ||
SelfLog.error("统计日志<" + statTracerName + ">输出异常", t); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
换成英文
@@ -0,0 +1,145 @@ | |||
## 使用 SOFATracer 集成 Dubbo 埋点 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个案例为啥没放在这个下面?
<dependency> | ||
<groupId>org.apache.dubbo</groupId> | ||
<artifactId>dubbo</artifactId> | ||
<version>2.7.0</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
写成provided就好了吧,如果有人要用sofa-tracer-dubbo-plugin,那他肯定是dubbo环境,如果不是dubbo环境误引入,我们也有conditionOnClass保证不报错,没必要把这个依赖带出去。
<dependency> | ||
<groupId>com.alibaba</groupId> | ||
<artifactId>fastjson</artifactId> | ||
<version>1.2.51</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
所有版本全部放在parent里面管理。
|
||
* 在工程模块的 pom 文件中添加 SOFATracer 依赖 | ||
|
||
```xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
文件格式有问题,前面没必要空两个空格。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
文件格式有问题,前面没必要空两个空格。
属于子条目下,空格看起来层次更清晰点
* glmapper-boot-dubbo-provider 服务提供方 | ||
* glmapper-boot-dubbo-facade 接口 | ||
|
||
案例工程地址:[SOFATracer 集成 Dubbo](https://github.com/glmapper/glmapper-boot-dubbo) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
案例工程不要引外链,都写在工程里面不可以吗?
Motivation:
support dubbo
Result:
Fixes #102