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

upgrade zipkin server version to v2 (2.11.1) #55

Merged
merged 3 commits into from
Aug 24, 2018

Conversation

glmapper
Copy link
Contributor

Motivation:

use zipkin2 server to show reported data.

Result:

Fixes #23

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

zipkinSpanBuilder
.duration((sofaTracerSpan.getEndTime() - sofaTracerSpan.getStartTime()) * 1000);
//traceId
SofaTracerSpanContext sofaTracerSpanContext = sofaTracerSpan.getSofaTracerSpanContext();

/**
* Changes:
Copy link
Member

Choose a reason for hiding this comment

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

这个注释不要删除了,保留吧,可以让大家知道我们的思考过程。

@@ -238,7 +208,6 @@ public static long spanIdToLong(String spanId) {
* @return fnv hash code
*/
public static long FNV64HashCode(String data) {
//hash FNVHash64 : http://www.isthe.com/chongo/tech/comp/fnv/index.html#FNV-param
Copy link
Member

Choose a reason for hiding this comment

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

这个注释也不要删除了。没有改这个地方就不要删除了

</dependency>
<dependency>
<groupId>io.zipkin.reporter</groupId>
<groupId>io.zipkin.reporter2</groupId>
Copy link
Member

Choose a reason for hiding this comment

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

这个实例工程中的版本 也记得升级下。

@coveralls
Copy link

coveralls commented Aug 22, 2018

Pull Request Test Coverage Report for Build 102

  • 16 of 19 (84.21%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.09%) to 63.562%

Changes Missing Coverage Covered Lines Changed/Added Lines %
tracer-sofa-boot-starter/src/main/java/com/alipay/sofa/tracer/boot/zipkin/ZipkinSofaTracerSpanRemoteReporter.java 13 16 81.25%
Files with Coverage Reduction New Missed Lines %
tracer-sofa-boot-starter/src/main/java/com/alipay/sofa/tracer/boot/zipkin/sender/ZipkinRestTemplateSender.java 1 84.21%
Totals Coverage Status
Change from base Build 99: 0.09%
Covered Lines: 2245
Relevant Lines: 3532

💛 - Coveralls

@guanchao-yang guanchao-yang merged commit 133ae1f into sofastack:master Aug 24, 2018
guanchao-yang added a commit to guanchao-yang/sofa-tracer that referenced this pull request Aug 25, 2018
Upgrade zipkin server version to v2 (2.11.1) (sofastack#55)
@glmapper glmapper deleted the upgrade-zipkinserver-to-v2 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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants