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

Fix TQ user latency not reported correctly #2431

Merged
merged 1 commit into from
Jan 29, 2022

Conversation

Ardagan
Copy link
Contributor

@Ardagan Ardagan commented Jan 28, 2022

What changed?
Added metrics context to golang context for proper metrics propagation.

Why?
Fix incorrectly reported metric.

How did you test it?
manual tests

Potential risks
N/A

Is hotfix candidate?
Yes

@Ardagan Ardagan requested review from yiminc and a team January 28, 2022 19:39
@Ardagan Ardagan force-pushed the PatchTQUserLatency branch 2 times, most recently from d788809 to fa295af Compare January 28, 2022 20:01
@Ardagan Ardagan force-pushed the PatchTQUserLatency branch from fa295af to 8146eb1 Compare January 28, 2022 20:02
@@ -271,11 +271,13 @@ func (t *taskProcessor) processTaskOnce(
}

ctx := context.Background()
ctx = metrics.AddMetricsContext(ctx)
Copy link
Member

Choose a reason for hiding this comment

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

was this a regression or was it never wired up?

@Ardagan Ardagan merged commit f4c4ab6 into temporalio:master Jan 29, 2022
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.

2 participants