-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
feature: jsonrpc4j plugin #6743
Conversation
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.
Read the plugin contribution document, we require the integration plugin test.
And as this is a personal project, I need to do some research whether we should accept this as an official plugin.
@@ -102,6 +102,8 @@ private Tags() { | |||
|
|||
public static final String VAL_LOCAL_SPAN_AS_LOGIC_ENDPOINT = "{\"logic-span\":true}"; | |||
|
|||
public static final StringTag JSON_RPC_METHOD = new StringTag(1, "jsonrpc.method"); |
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.
We usually only put general tags into apm-agent-core
module, maybe you should consider moving this tag into a Constants
util class in the jsonrpc4j
module.
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.
We usually only put general tags into
apm-agent-core
module, maybe you should consider moving this tag into aConstants
util class in thejsonrpc4j
module.
fixed
@apache/skywalking-committers Any of you has experience about this framework? I am concerned about who could review this. |
got it. |
I took a look at https://github.com/briandilley/jsonrpc4j, it seems alive for years, even it doesn't have a big contribution community but keep in healthy status. |
...etwork/src/main/java/org/apache/skywalking/apm/network/trace/component/ComponentsDefine.java
Outdated
Show resolved
Hide resolved
Please fix your CI, and your task should be added into CI process. |
…/skywalking into feature/jsonrpc4j-plugin
...etwork/src/main/java/org/apache/skywalking/apm/network/trace/component/ComponentsDefine.java
Outdated
Show resolved
Hide resolved
...n/src/main/java/org/apache/skywalking/apm/plugin/jsonrpc4j/JsonRpcHttpClientInterceptor.java
Outdated
Show resolved
Hide resolved
...rg/apache/skywalking/apm/plugin/jsonrpc4j/JsonRpcHttpClientPrepareConnectionInterceptor.java
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #6743 +/- ##
============================================
+ Coverage 47.56% 52.43% +4.87%
- Complexity 3485 4061 +576
============================================
Files 1803 1810 +7
Lines 38591 38819 +228
Branches 4253 4257 +4
============================================
+ Hits 18355 20356 +2001
+ Misses 19225 17451 -1774
- Partials 1011 1012 +1
Continue to review full report at Codecov.
|
JsonRpc4j plugin unit test and e2e test is pass, but some other CI is not pass. |
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.
- Supported-list.md should be updated.
- CHANGES.md should be updated.
...j-1.x-plugin/src/test/java/org/apache/skywalking/apm/plugin/jsonrpc4j/JsonRpcServeTests.java
Outdated
Show resolved
Hide resolved
...etwork/src/main/java/org/apache/skywalking/apm/network/trace/component/ComponentsDefine.java
Show resolved
Hide resolved
...n/src/main/java/org/apache/skywalking/apm/plugin/jsonrpc4j/JsonRpcHttpClientInterceptor.java
Show resolved
Hide resolved
Please follow other review comments. |
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.
Generally good to me. Wait for CI tests. @kezhenxu94 Recheck?
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
CHANGES
log.close: #6742