-
Notifications
You must be signed in to change notification settings - Fork 126
Worker heartbeat: New in-memory metrics mechism, plumb rest of heartbeat data #1023
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
yuandrew
merged 23 commits into
temporalio:worker-heartbeat
from
yuandrew:worker-heartbeat-telemetry
Oct 17, 2025
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
c32d6c9
plumb in memory metrics
yuandrew 0ad6be2
simplify worker::new(), fix some heartbeat metrics, new test file
yuandrew d314a35
CounterImpl, final_heartbeat, more specific metric label dbg_panic ms…
yuandrew b00b80e
Support in-mem metrics when metrics aren't configured
yuandrew 894d916
Move sys_info refresh to dedicated thread, use tuner's existing sys info
yuandrew ef96616
Format, AtomicCell
yuandrew 0350f91
Fix unit test
yuandrew fe3956c
Set dynamic config for WorkerHeartbeatsEnabled and ListWorkersEnabled…
yuandrew d956784
Should not expect heartbeat nexus worker in metrics for non-heartbeat…
yuandrew 98e778d
recv_timeout instead of thread::sleep, use WorkflowService::list_work…
yuandrew 96e0186
MetricAttributes::NoOp, add mechanism to ignore dupe workers for test…
yuandrew e1ad0ae
More tests, sticky cache miss, plugins
yuandrew 8f42387
Formatting, fix skip_client_worker_set_check
yuandrew d54a3eb
Cursor found a bug
yuandrew 13d981c
Lower sleep time, add print for debugging
yuandrew f1a3634
more prints
yuandrew 6d3a909
use semaphores for worker_heartbeat_failure_metrics
yuandrew a29d2df
skip_client_worker_set_check for all integ workers
yuandrew fc7f839
Can't use tokio semaphore in workflow code
yuandrew c73d7b8
use signal to test workflow_slots.last_interval_failure_tasks
yuandrew f52345e
Use Notify instead of semaphores, fix test flake
yuandrew 1601f0e
Use eventually() instead of a manual sleep
yuandrew 8f1ef5a
max_outstanding_workflow_tasks 2
yuandrew File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.