zipkin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-zipkin-brave] shankarwww opened a new issue #915: Custom Zipkin tracing for @JmsListener
Date Wed, 29 May 2019 21:47:56 GMT
shankarwww opened a new issue #915: Custom Zipkin tracing for @JmsListener
URL: https://github.com/apache/incubator-zipkin-brave/issues/915
 
 
   I am using spring boot 2 with dependency as:
   
   ```
   <dependency>
       <groupId>org.springframework.cloud</groupId>
       <artifactId>spring-cloud-starter-sleuth</artifactId>
   </dependency>
   <dependency>
       <groupId>org.springframework.cloud</groupId>
       <artifactId>spring-cloud-sleuth-zipkin</artifactId>
   </dependency>
   ```
   My project is jms based application which receives message from a TIBCO queue, process
it and then replies back to the same queue.
   
   ```
   @JmsListener(destination = "${tibco.queue.name}")
   public String onMessage(final String xmlRequest)  {
   }
   ```
   Request received is in xml form which contains ServiceCorrelationID in the header. The
content inside ServiceCorrelationID contains the B3SingleFormat for trace and span id which
is already generated by some other project.
   
   ```
   <?xml version="1.0" encoding="UTF-8"?>
   <ns0:Request>
       <ns0:Header>
           <ns1:TimeStamp>2019-04-16T11:52:49.465+02:00</ns1:TimeStamp>
           <ns1:ServiceCorrelationID>bf400f92570e67e4-c76a5a539bfd40f4-1-bf400f92570e67e4</ns1:ServiceCorrelationID>
       </ns0:Header>
       <ns0:Payload>
       </ns0:Payload>
   </ns0:Request>
   ```
   Requirement: What the requirement to not generate new span and trace it but use the data
coming in the ServiceCorrelationID but change only span id. The incoming span will become
the parent id. i.e:
   
   > incoming: bf400f92570e67e4-c76a5a539bfd40f4-1-bf400f92570e67e4
   > to be generated: bf400f92570e67e4-generateNewSpan-1-c76a5a539bfd40f4
   
   How can i customize the generated span to meet my requirement ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@zipkin.apache.org
For additional commands, e-mail: dev-help@zipkin.apache.org


Mime
View raw message