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

Add workflow_backoff_timer metrics #5910

Merged
merged 3 commits into from May 14, 2024

Conversation

yiminc
Copy link
Member

@yiminc yiminc commented May 12, 2024

What changed?

Add workflow_backoff_timer metrics with namespace tag.

Why?

For #5768
Current task_requests{operation="TimerActiveTaskWorkflowBackoffTimer"} does not differentiate if the backoff is due to retry/cron/delayed_start. Current workflow_retry_backoff_timer does not have namespace tag.

How did you test it?

Verify the metrics as:
workflow_backoff_timer{backoff_type="Retry",namespace="default",service_name="history"} 1

Potential risks

No

@yiminc yiminc requested a review from a team as a code owner May 12, 2024 02:23
@yiminc yiminc enabled auto-merge (squash) May 14, 2024 04:50
@yiminc yiminc merged commit 181628b into temporalio:main May 14, 2024
42 checks passed
ychebotarev pushed a commit to ychebotarev/temporal that referenced this pull request May 16, 2024
## What changed?
Add workflow_backoff_timer metrics with namespace tag.

## Why?
For temporalio#5768
Current task_requests{operation="TimerActiveTaskWorkflowBackoffTimer"}
does not differentiate if the backoff is due to
retry/cron/delayed_start. Current workflow_retry_backoff_timer does not
have namespace tag.

## How did you test it?
Verify the metrics as:

workflow_backoff_timer{backoff_type="Retry",namespace="default",service_name="history"}
1

## Potential risks
No
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.

None yet

2 participants