You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "wujimin (JIRA)" <ji...@apache.org> on 2019/01/15 06:36:00 UTC

[jira] [Closed] (SCB-655) RestTemplate support with Zipkin (jaeger)

     [ https://issues.apache.org/jira/browse/SCB-655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wujimin closed SCB-655.
-----------------------
    Resolution: Implemented

fixed by https://issues.apache.org/jira/browse/SCB-859

> RestTemplate support with Zipkin (jaeger)
> -----------------------------------------
>
>                 Key: SCB-655
>                 URL: https://issues.apache.org/jira/browse/SCB-655
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Java-Chassis
>            Reporter: Willem Jiang
>            Priority: Major
>              Labels: newbie
>
> When using the restTemplate to send the request for the service provide, the trace of the service calls are separated.  
> {code}
> @Autowired
> private RestTemplate restTemplate;
> @RequestMapping(path = "/test", method = RequestMethod.GET)
> public ResponseEntity<QueryTenantRsp> queryTenant()
> {
>     QueryTenantRsp resp = restTemplate.getForObject(
>             "cse://configservice/v1/tenants?tenant_id=111&page_size=10", QueryTenantRsp.class);
>     return new ResponseEntity<QueryTenantRsp>(resp, HttpStatus.CREATED);
> }
> {code}
> You can find more information [here|https://github.com/apache/incubator-servicecomb-java-chassis/issues/722] 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)