Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question of Distributed Tracing #1365

Closed
liangyuanpeng opened this issue Oct 27, 2019 · 3 comments
Closed

Question of Distributed Tracing #1365

liangyuanpeng opened this issue Oct 27, 2019 · 3 comments

Comments

@liangyuanpeng
Copy link
Contributor

I did follow the steps in the documentation.

http://servicecomb.apache.org/docs/quick-start-advance/distributed-tracing/

just add something for my ZipKin

calcutor

servicecomb:
  handler:
    chain:
#      Consumer:
#        default: tracing-consumer
      Provider:
        default: tracing-provider
  tracing:
    collector:
      address: http://192.168.1.11:9411

webapp

servicecomb
   tracing:
     collector:
       address: http://192.168.1.11:9411

and it not working,

JDK: 1.8
project:
org.apache.servicecomb.samples.bmi

@liubao68
Copy link
Contributor

Can you give more information about your problem? e.g. check if the handler is propertly executed and configured : https://github.com/apache/servicecomb-java-chassis/tree/master/handlers/handler-tracing-zipkin.

BWT: It looks you handler chain is not corrent. When you add new handlers, include others. see https://docs.servicecomb.io/java-chassis/zh_CN/references-handlers/intruduction.html

@liangyuanpeng
Copy link
Contributor Author

liangyuanpeng commented Oct 28, 2019

yes, the ZipkinTracingHandler is working, maybe

I can get something from debug

image

Tracer{currentSpan=c09c2b534595e430/cce23b5eee4dd449, finishedSpanHandler=AsyncReporter{OkHttpSender{http://192.168.1.11:9411/api/v2/spans}}}

AsyncReporter{OkHttpSender{http://192.168.1.11:9411/api/v2/spans}}

I have never used zipkin, I will add some knowledge of zipkin, maybe my settings are wrong.

Thank you, liubo

@liangyuanpeng
Copy link
Contributor Author

Update
It is my wrong, my zipkin server should be 192.168.1.19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants