Skip to content
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

Support updates in tracing interceptor #1595

Merged
merged 5 commits into from
Aug 21, 2024

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

Support updates in tracing interceptor

closes #1588

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner August 16, 2024 15:11
info := workflow.GetInfo(ctx)
currentUpdateInfo := workflow.GetCurrentUpdateInfo(ctx)
span, ctx, err := t.root.startSpanFromWorkflowContext(ctx, &TracerStartSpanOptions{
Operation: "ExecuteUpdate",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hrmm, I see we didn't call this method HandleUpdate like we have HandleSignal and HandleQuery (and as we may have in other SDKs), but I wonder if we still want the span name to match the other SDKs or match the interceptor method.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine matching other SDK's, I don't think the span name needs to match the interceptor name

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit 1fe6141 into temporalio:master Aug 21, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support updates in tracing interceptor
2 participants