1.增加httpClient对接 dubbox-rest的函数方法。
This commit is contained in:
parent
1884b677e1
commit
0d2e60063f
|
|
@ -153,8 +153,8 @@ public class XXXDBTracingDriver extends TracingDriver {
|
|||
</h3>
|
||||
<p>使用SWTracingHttpClient封装所需的httpClient,此httpClient所有调用都会被监控</p>
|
||||
<pre>HttpClient httpclient = new SWTracingHttpClient(new DefaultHttpClient());</pre>
|
||||
<p>上下文将被存储在http request head,中,默认名称和SkyWalkingFilter保持一致。如果使用dubbox的rest提供的http请求,请使用方法重载</p>
|
||||
<pre>HttpClient httpclient = new SWTracingHttpClient(new DefaultHttpClient(), "");</pre>
|
||||
<p>上下文将被存储在http request head,中,默认名称和SkyWalkingFilter保持一致。<br/>如果服务端使用dubbox 2.4.3 的提供的http-rest,请使用方法重载</p>
|
||||
<pre>HttpClient httpclient = new SWTracingHttpClient(new DefaultHttpClient(), "Dubbo-Attachments");</pre>
|
||||
|
||||
<footer class="site-footer">
|
||||
<span class="site-footer-owner"><a href="http://wu-sheng.github.io/sky-walking">Sky Walking</a> is maintained by <a href="https://github.com/wu-sheng">吴晟</a>,<a href="https://github.com/ascrutae">张鑫</a>,<a href="https://github.com/tanzhen84">谭真</a>.</span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue