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

Fix upgrade zipkin2 #60

Merged
merged 3 commits into from
Aug 29, 2018
Merged

Conversation

glmapper
Copy link
Contributor

Motivation:

1、resolve parentSpanId in Zipkin version 2.1.X report is blank .
2、adapter SOFARpc span to zipkin span
3、upgrade zipkin version to 2.11.3

Result:

Fixes #57 .

If there is no issue then describe the changes introduced by this PR.

//kind
SofaTracer sofaTracer = sofaTracerSpan.getSofaTracer();
// adapter SOFARpc span model
if ("RPC_TRACER".equals(sofaTracer.getTracerType())) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Magic value. "RPC_TRACER"

@guanchao-yang guanchao-yang self-assigned this Aug 29, 2018
@guanchao-yang guanchao-yang added bug Something isn't working enhancement New feature or request labels Aug 29, 2018
@guanchao-yang guanchao-yang added this to the 2.2.0 milestone Aug 29, 2018
@coveralls
Copy link

coveralls commented Aug 29, 2018

Pull Request Test Coverage Report for Build 117

  • 9 of 10 (90.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.008%) to 63.569%

Changes Missing Coverage Covered Lines Changed/Added Lines %
tracer-sofa-boot-starter/src/main/java/com/alipay/sofa/tracer/boot/zipkin/ZipkinSofaTracerSpanRemoteReporter.java 9 10 90.0%
Totals Coverage Status
Change from base Build 107: 0.008%
Covered Lines: 2244
Relevant Lines: 3530

💛 - Coveralls

@guanchao-yang guanchao-yang merged commit 8d02193 into sofastack:master Aug 29, 2018
guanchao-yang added a commit to guanchao-yang/sofa-tracer that referenced this pull request Aug 29, 2018
@glmapper glmapper deleted the fix-upgrade-zipkin2 branch February 20, 2021 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SOFATracer remote report data to Zipkin version 2.1.X version problem
4 participants