You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2020/07/21 15:44:00 UTC

[jira] [Assigned] (CAMEL-15316) Camel Zipkin does not set correct span kind

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

Andrea Cosentino reassigned CAMEL-15316:
----------------------------------------

    Assignee: Andrea Cosentino

> Camel Zipkin does not set correct span kind
> -------------------------------------------
>
>                 Key: CAMEL-15316
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15316
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-zipkin
>    Affects Versions: 3.4.1
>            Reporter: Samrat Dhillon
>            Assignee: Andrea Cosentino
>            Priority: Major
>
> Camel Zipkin does not set correct span kind for components such as jms, kafka, amqp etc. For these components the Span kind should be either Consumer or Producer. However camel zipkin sets Server or Client span kind for all components. 
> This is not just a cosmetic issue as the span kind determines what tracing headers are injected by brave library. E.g. Span kind Producer will inject b3 header which is comes from brave.propagation.B3SingleFormat.writeB3SingleFormatWithoutParentId(TraceContext). In case of JMS this becomes important for co-relation to work with a non camel application as X-B3-TraceId, X-B3-SpanId, X-B3-ParentSpanId & X-B3-Spampled are not valid JMS headers. Camel escapes the hyphens when these headers are written as JMS messages, but this is a non standard implementation. For co-relation to work using brave, these headers have to be written using b3 single format and this is determine by Span Kind.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)