-
Notifications
You must be signed in to change notification settings - Fork 304
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
HPCC-32455 Upgrade WsSQL instrumentation #19009
HPCC-32455 Upgrade WsSQL instrumentation #19009
Conversation
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-32455 Jirabot Action Result: |
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.
@timothyklemm looks good, there's some basic info we could add to the new spans.
try | ||
{ | ||
WsWuHelpers::submitWsWorkunit(context, compiledwuid.str(), cluster, nullptr, 0, 0, true, false, false, nullptr, nullptr, nullptr, nullptr); | ||
waitForWorkUnitToCompile(compiledwuid.str(), req.getWait()); |
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.
it might help to annotate the span w/ the wuid
OwnedSpanScope wuCloneSpanScope(queryThreadedActiveSpan()->createInternalSpan("clone_and_execute_wu")); | ||
try | ||
{ | ||
cloneAndExecuteWU(context, compiledwuid.str(), runningwuid, xmlparams.str(), NULL, NULL, cluster); |
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.
annotate span w/ both wuids, also cluster might be important to add
4e9ad3f
to
f3b3549
Compare
f3b3549
to
8b7df1a
Compare
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.
@timothyklemm approved
Replace eight pairs of trace summary timestamps with eight internal spans. Signed-off-by: Tim Klemm <[email protected]>
8b7df1a
to
6c748d6
Compare
@ghalliday please merge. |
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.
Any reason why this should go in 9.8.x rather than 9.10.x? If not I will re-target and merge to master.
I know it started on 9.8.x before 9.10.x. I'm not aware of any reason it needs to stay there. |
Replace eight pairs of trace summary timestamps with eight internal spans.
Type of change:
Checklist:
Smoketest:
Testing: