8000 Move queue metrics to metrics package by yux0 · Pull Request #3587 · temporalio/temporal · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Move queue metrics to metrics package #3587

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

Merged
merged 2 commits into from
Nov 14, 2022
Merged

Conversation

yux0
Copy link
Contributor
@yux0 yux0 commented Nov 14, 2022

What changed?
Move queue metrics to metrics package

Why?
Have all metrics tag and scope in metrics package.

How did you test it?

Potential risks

Is hotfix candidate?
No

@yux0 yux0 requested a review from yycptt November 14, 2022 19:23
@yux0 yux0 requested a review from a team as a code owner November 14, 2022 19:23
Comment on lines -48 to -56
TaskLoadLatency = "task_latency_load" // latency from task generation to task loading (persistence scheduleToStart)
TaskScheduleLatency = "task_latency_schedule" // latency from task submission to in-memory queue to processing (in-memory scheduleToStart)
TaskProcessingLatency = "task_latency_processing" // latency for processing task one time
TaskNoUserProcessingLatency = "task_latency_processing_nouserlatency" // same as TaskProcessingLatency, but excludes workflow lock latency
TaskLatency = "task_latency" // task in-memory latency across multiple attempts
TaskNoUserLatency = "task_latency_nouserlatency" // same as TaskLatency, but excludes workflow lock latency
TaskQueueLatency = "task_latency_queue" // task e2e latency
TaskNoUserQueueLatency = "task_latency_queue_nouserlatency" // same as TaskQueueLatency, but excludes workflow lock latency
TaskUserLatency = "task_latency_userlatency" // workflow lock latency across multiple attempts
Copy link
Member

Choose a reason for hiding this comment

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

Please make sure those comments are copied to metrics package as well.

@yux0 yux0 merged commit 574aee6 into temporalio:master Nov 14, 2022
@yux0 yux0 deleted the move-queue-metrics branch November 14, 2022 20:57
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
0