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

[jira] [Resolved] (SCB-1410) Mersher config for tracing didn't work.

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

chenshuo resolved SCB-1410.
---------------------------
    Resolution: Fixed

Need do as fowllings:

1、Import _ "github.com/go-chassis/go-chassis-plugins/tracing/zipkin" in mersher.go.

2、Add  chassisHandler.TracingConsumer for consumerChain in file bootstrap.go.

3、Add chassisHandler.TracingProvider for providerChain in file bootstrap.go.

> Mersher config for tracing didn't work.
> ---------------------------------------
>
>                 Key: SCB-1410
>                 URL: https://issues.apache.org/jira/browse/SCB-1410
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: mesher
>            Reporter: chenshuo
>            Priority: Major
>         Attachments: image-2019-08-01-19-24-49-293.png
>
>
> I start the zipkin server by cmd docker run -d -p 9411:9411 openzipkin/zipkin in server [192.168.88.64|http://192.168.88.64:9411/zipkin/].
> And I edit mersher config as follows and send requests.But it didn't work.There is nothing infomation in [http://192.168.88.64:9411/zipkin/]
> tracing:
>    enabled: true #enable distribution tracing
>    collectorType: zipkin 
>    collectorTarget: [http://localhost:9411/api/v1/spans]
>  
> !image-2019-08-01-19-24-49-293.png!
>  
> When import package _ "github.com/go-chassis/go-chassis-plugins/tracing/zipkin" for zipkin.
> I find build error.
> ../pkg/mod/github.com/go-chassis/go-chassis-plugins@v0.0.0-20190507123504-83783d9c730e/tracing/zipkin/zipkin.go:75:3: undefined: zipkintracer.WithPrefixTracerState



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)