-
Notifications
You must be signed in to change notification settings - Fork 305
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
PAYARA-2547 Implement MicroProfile OpenTracing 1.0 #2776
PAYARA-2547 Implement MicroProfile OpenTracing 1.0 #2776
Conversation
Jenkins test please |
completed = false; | ||
} | ||
|
||
private void handleRequestEvent(RequestTraceSpan span) { |
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.
Could the first function call the overloaded one?
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.
Not straight-forwardly as you'd lose the precision of nanoTime
converting to milliseconds.
@@ -171,16 +222,16 @@ public boolean isStarted() { | |||
|
|||
/** | |||
* Returns a list of all the events that make up the trace. | |||
* @return | |||
* @return |
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.
Can this be corrected to be described in the @return
?
* See {@link java.time.Instant#now()} for how this time is generated. | ||
* @return | ||
* @return |
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.
Same as above
Jenkins test please |
Quick build and test failed! |
…github.com:Pandrex247/Payara into PAYARA-2547-Implement-MicroProfile-OpenTracing-1.0
Jenkins test please |
Quick build and test passed! |
Integrates OpenTracing into the Request Tracing Service.
Allows users to instrument their code for tracing with an annotation
@Traced
, and to inject a Tracer object to manually start and configure Spans themselves.Currently not supported in this PR: Injection and Extraction (used for cross-process propagation).
Relies on payara/Payara_PatchedProjects#157, and payara/Payara_PatchedProjects#158