-
Notifications
You must be signed in to change notification settings - Fork 609
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
Add Caffeine plugin as optional #743
Conversation
As you are adding a new component ID, please add it to the main repo and reserve it. |
...x-plugin/src/main/java/org/apache/skywalking/apm/plugin/caffeine/v3/CaffeineInterceptor.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/skywalking/apm/testcase/caffeine/controller/CaffeineController.java
Outdated
Show resolved
Hide resolved
final Class<?>[] argumentsTypes, | ||
final MethodInterceptResult result) throws Throwable { | ||
AbstractSpan span = generateSpanInfo(method.getName()); | ||
if (allArguments != null && allArguments.length > 0) { |
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.
Is this necessary? In which case, allArguments
is unexpected?
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.
I prefer to add judgment, not sure all inputs meet the expectations before this function is processed by upstream.
CHANGES
log.