-
Notifications
You must be signed in to change notification settings - Fork 92
Tracer tests #21
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
Tracer tests #21
Conversation
710acb6
to
0987a76
Compare
withEntitySubsegment(SERVICE_NAME, name, entity, subsegment); | ||
} | ||
|
||
public static void withEntitySubsegment(String namespace, String name, Entity entity, Consumer<Subsegment> subsegment) { |
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.
Just some overloaded method for letting users to pass namespace as well if needed, else it will pic the default from service name
@@ -58,15 +58,6 @@ public Object around(ProceedingJoinPoint pjp, | |||
} | |||
} | |||
|
|||
private Object response(ProceedingJoinPoint pjp, Object methodReturn) { |
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.
Removed this for now unless we really need to.
0987a76
to
bad87a6
Compare
bad87a6
to
733edbf
Compare
Could you just add a bit of documentation just to explain for what purpose this class has been designed. I did not ask for a fully documented javadoc things, but just one sentence. Otherwise good job, it's good to start for that quality of test. |
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.
As I said on a previous comment. Only one or two line of documentation for each class otherwise good job.
I can take that as a separate PR to quickly document the intent of each of such classes. |
Ok perfect. |
Issue #, if available:
Description of changes:
Test coverage for Tracer functionality.
Checklist
Breaking change checklist
RFC issue #:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.