-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
CURATOR-726: Improve tracing for certain operations #513
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.
Thank you!
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
I think we probably should trace also opcode in future. The name
is not good for programmatical decision.
curator-framework/src/main/java/org/apache/curator/framework/imps/GetChildrenBuilderImpl.java
Show resolved
Hide resolved
curator-framework/src/main/java/org/apache/curator/framework/imps/GetChildrenBuilderImpl.java
Show resolved
Hide resolved
curator-client/src/main/java/org/apache/curator/drivers/OperationTrace.java
Outdated
Show resolved
Hide resolved
100% agreed! |
Co-authored-by: Kezhu Wang <[email protected]>
This reverts commit 31bcdea.
Well that's very frustrating. |
curator-framework/src/main/java/org/apache/curator/framework/imps/CuratorEventImpl.java
Outdated
Show resolved
Hide resolved
…mps/CuratorEventImpl.java
I guess this require a bunch of changes and worth a separated issue. Let's leave it for future improvement. |
https://issues.apache.org/jira/browse/CURATOR-726
In Apache Solr, we are trying to refactor all of our custom ZK interaction logic to use Curator. One of the things we do is implement metrics on our interactions with ZK. Curator allows us to do this with Tracing and CuratorListeners. However there are two things that don't give us the information we need.
Therefore in this PR, I have added the two pieces of information (# of Children fetched and # of transactions) and also converted the MultiTransaciton to use an AdvancedTrace.