Willem Jiang created SCB-655:
--------------------------------
Summary: 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
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)