-
Notifications
You must be signed in to change notification settings - Fork 375
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-repoter 3.4.0 #530
Upgrade zipkin-repoter 3.4.0 #530
Conversation
Signed-off-by: JermaineHua <crazyhzm@apache.org>
WalkthroughThe recent updates to the Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant ZipkinRestTemplateSender
participant ZipkinReporter
Client->>ZipkinRestTemplateSender: SendTracingData()
ZipkinRestTemplateSender->>ZipkinReporter: ReportData()
ZipkinReporter-->>ZipkinRestTemplateSender: Acknowledge()
ZipkinRestTemplateSender-->>Client: SendResponse()
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- sofa-tracer-plugins/sofa-tracer-zipkin-plugin/pom.xml (1 hunks)
- sofa-tracer-plugins/sofa-tracer-zipkin-plugin/src/main/java/com/alipay/sofa/tracer/plugins/zipkin/sender/ZipkinRestTemplateSender.java (1 hunks)
- sofa-tracer-plugins/sofa-tracer-zipkin-plugin/src/test/java/com/alipay/sofa/tracer/plugins/zipkin/ZipkinRestTemplateSenderTest.java (1 hunks)
Additional comments not posted (5)
sofa-tracer-plugins/sofa-tracer-zipkin-plugin/src/test/java/com/alipay/sofa/tracer/plugins/zipkin/ZipkinRestTemplateSenderTest.java (2)
26-27
: Imports updated correctly.The import statements for
Call
andEncoding
have been updated to reflect their new locations in thezipkin2.reporter
package. Ensure that these changes are consistent with the new library structure.
Line range hint
34-71
:
Test methods are correctly implemented.The test methods are correctly using the updated imports and are testing the functionalities of
ZipkinRestTemplateSender
as expected.sofa-tracer-plugins/sofa-tracer-zipkin-plugin/src/main/java/com/alipay/sofa/tracer/plugins/zipkin/sender/ZipkinRestTemplateSender.java (2)
25-26
: Imports updated correctly.The import statements for
Call
andEncoding
have been updated to reflect their new locations in thezipkin2.reporter
package. Ensure that these changes are consistent with the new library structure.
Line range hint
34-71
:
Methods are correctly implemented.The methods in
ZipkinRestTemplateSender
are correctly using the updated imports forCall
andEncoding
and are functioning as expected.sofa-tracer-plugins/sofa-tracer-zipkin-plugin/pom.xml (1)
32-32
: Version update approved.The version of the
zipkin-reporter
dependency has been updated from2.7.15
to3.4.0
. Ensure that this update does not introduce any compatibility issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- sofa-tracer-plugins/sofa-tracer-zipkin-plugin/pom.xml (1 hunks)
Additional comments not posted (1)
sofa-tracer-plugins/sofa-tracer-zipkin-plugin/pom.xml (1)
32-32
: Verify compatibility and functionality withzipkin-reporter
version 3.4.0.The upgrade to version
3.4.0
may introduce new features or changes that could affect compatibility with other dependencies or the functionality of the project. Ensure that the project builds successfully and passes all tests with this new version.
Motivation:
sofaboot support 3.3.2 failed:sofastack/sofa-boot#1335
The reason is that sofa tracer is not compatible with zipkin repoter.
Modification:
Describe the idea and modifications you've done.
Result:
Fixes #.
If there is no issue then describe the changes introduced by this PR.
Summary by CodeRabbit
New Features
zipkin-reporter
dependency to version3.4.0
, which may introduce new features and improvements to tracing capabilities.Bug Fixes