-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Create metrics to track Scheduled->Queued->Running task state transition times #30612
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
Changes from all commits
67b4637
1ec9c3b
160b246
bcf115b
8f2cfb3
931b5f6
5c58f89
e4c640b
72bbdbf
a50d857
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -164,7 +164,9 @@ Timers | |
| Name Description | ||
| =================================================== ======================================================================== | ||
| ``dagrun.dependency-check.<dag_id>`` Milliseconds taken to check DAG dependencies | ||
| ``dag.<dag_id>.<task_id>.duration`` Seconds taken to finish a task | ||
| ``dag.<dag_id>.<task_id>.duration`` Seconds taken to run a task | ||
| ``dag.<dag_id>.<task_id>.scheduled_duration`` Seconds a task spends in the Scheduled state, before being Queued | ||
| ``dag.<dag_id>.<task_id>.queued_duration`` Seconds a task spends in the Queued state, before being Running | ||
|
Comment on lines
+167
to
+169
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (Non-blocking) Just curious, are these lines manual changes or from some automated change?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added them manually, there is nothing enforcing sync between this doc and the code.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alright, that was what I thought. I went looking for something like this when I started on the OTel work and didn't find it. That's buried pretty deep. 👍 |
||
| ``dag_processing.last_duration.<dag_file>`` Seconds taken to load the given DAG file | ||
| ``dagrun.duration.success.<dag_id>`` Seconds taken for a DagRun to reach success state | ||
| ``dagrun.duration.failed.<dag_id>`` Milliseconds taken for a DagRun to reach failed state | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍